@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap");

:root {
	--lp-width: min(470px, 100vw);
}

* {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
	overflow-x: clip;
	overscroll-behavior-x: none;
}

body {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	background:
		linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28)),
		url("../img/gradient_5_13.webp") no-repeat center center / cover;
	color: #1f2937;
	position: fixed;
	inset: 0;
	overflow: hidden;
	display: grid;
	place-items: start center;
}

body::before,
body::after {
	display: none;
}

body::before {
	left: 0;
}

body::after {
	right: 0;
}

.sp-container {
	max-width: 470px;
	width: var(--lp-width);
	margin: 0;
	padding: 0 16px 92px;
	background: #f3f6f8;
	min-height: 100%;
	height: 100%;
	position: relative;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior-x: none;
	touch-action: pan-y;
	-webkit-overflow-scrolling: touch;
	z-index: 1;
}

.header-campaign {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: #ff821e;
	color: #ffffff;
	text-align: center;
	padding: 10px 12px 12px;
	z-index: 5;
}

.header-campaign-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 900;
}

.header-campaign-copy {
	margin: 4px 0 8px;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 700;
}

.header-campaign-timer {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 4px;
	flex-wrap: wrap;
	font-weight: 700;
}

.timer-label {
	font-size: 12px;
	margin-right: 2px;
}

.timer-num {
	display: inline-block;
	min-width: 22px;
	font-size: 19px;
	line-height: 1;
	font-weight: 900;
}

.timer-unit {
	font-size: 12px;
	line-height: 1;
	margin-right: 2px;
}

#fv {
	position: relative;
	overflow: hidden;
	margin-top: 0;
	margin-left: -16px;
	margin-right: -16px;
	width: calc(100% + 32px);
	aspect-ratio: 2080 / 2719;
	background-image: url("../img/fvbg.webp");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}

#fv::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	width: min(88%, 380px);
	aspect-ratio: 380 / 120;
	background: url("../img/fvcta.webp") no-repeat center / contain;
	z-index: 3;
	pointer-events: none;
}

#fv > *:not(.fv-cta-link):not(.header-campaign) {
	display: none;
}

.fv-cta-link {
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	width: min(88%, 380px);
	aspect-ratio: 380 / 120;
	z-index: 4;
	display: block;
}

.fv-copy {
	position: absolute;
	top: 18%;
	left: 50%;
	transform: translateX(-50%);
	width: min(92%, 400px);
	padding: 18px 16px;
	background: rgba(255, 255, 255, 0.8);
	text-align: left;
	z-index: 2;
}

.fv-copy p {
	margin: 0;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #2a2a2a;
	-webkit-text-stroke: 1.5px #ffffff;
	paint-order: stroke fill;
}

.fv-copy p + p {
	margin-top: 6px;
}

.copy-line-1 {
	font-size: 24px;
}

.copy-line-2 {
	font-size: 36px;
	line-height: 1.2;
}

.copy-line-3 {
	font-size: 24px;
}

.copy-em {
	color: #f97316;
}

.copy-em {
	font-size: 36px;
}

.copy-offer {
	color: #f97316;
	font-size: 24px;
}

.fv-photo {
	position: absolute;
	right: -6px;
	bottom: 0;
	width: auto;
	height: 100%;
	max-width: none;
	z-index: 1;
	pointer-events: none;
}

section {
	margin-top: 28px;
}

main > section {
	background: #f3f6f8;
}

#sec1,
#problem-solution {
	position: relative;
	z-index: 2;
	margin-top: 0;
	margin-left: -16px;
	margin-right: -16px;
	width: calc(100% + 32px);
	background-image: url("../img/sec1bg2.webp"), url("../img/fvbg.webp");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
	min-height: 680px;
	padding: 24px 16px 0;
}

.section-title {
	margin: 0 0 16px;
	text-align: center;
	font-size: 28px;
	line-height: 1.4;
	font-weight: 700;
}

.problem-cards {
	display: grid;
	gap: 12px;
}

.problem-card {
	padding: 16px;
	border: 1px solid #d4ddeb;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 6px 16px rgba(31, 41, 55, 0.08);
}

.problem-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}

.sec1-problem-image {
	display: block;
	width: 68%;
	margin: 24px auto 0;
	height: auto;
}

#problem-solution .section-title {
	margin-top: 8px;
}

.sec2-solution-image {
	display: block;
	width: 68%;
	max-width: none;
	height: auto;
	margin: 0 auto;
}

.sec1-worries {
	margin-top: 30px;
	display: grid;
	gap: 16px;
}

.sec1-worry-image {
	display: block;
	width: 100%;
	height: auto;
}

.sec1-line-overlay {
	position: absolute;
	left: 50%;
	bottom: -44px;
	transform: translateX(-50%);
	width: 2%;
	height: auto;
	pointer-events: none;
	z-index: 3;
}

.sec2-title-image {
	display: block;
	width: 88%;
	height: auto;
	margin: 70px auto 16px;
}

.sec2-polygon-image {
	display: block;
	width: 40%;
	height: auto;
	margin: 30px auto;
}

.sec2-group35-image {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 20px auto 16px;
}

.sec2-cta-image {
	display: block;
	width: 88%;
	height: auto;
	margin: 12px auto 16px;
}

.sec2-group60-image {
	display: block;
	width: 68%;
	height: auto;
	margin: 64px auto 20px;
}

.sec2-group77-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.sec4-title-image {
	display: block;
	width: 90%;
	height: auto;
	margin: 12px auto 24px;
}

#reasons {
	margin-top: 32px;
	margin-left: -16px;
	margin-right: -16px;
	width: calc(100% + 32px);
	background: #eef4f8;
	padding-top: 8px;
}

.sec4-reasons-image {
	display: block;
	width: 92%;
	height: auto;
	margin: 0 auto;
}

.sec4-group65-image {
	display: block;
	width: 80%;
	height: auto;
	margin: 16px auto 0;
}

.sec4-case-heading {
	margin: 56px auto 12px;
	text-align: center;
}

.sec4-case-heading-eyebrow {
	display: block;
	width: 80%;
	height: auto;
	margin: 0 auto;
}

.sec4-case-heading-title {
	display: block;
	width: 90%;
	height: auto;
	margin: 20px auto 32px;
}

.sec4-case-image {
	display: block;
	width: 92%;
	height: auto;
	margin: 0 auto;
}

.sec4-case-heading + .sec4-case-image {
	margin-top: 12px;
}

.sec4-case-image + .sec4-case-image {
	margin-top: 24px;
}

.sec5-image {
	display: block;
	width: calc(100% + 32px);
	height: auto;
	max-width: none;
	margin: 0 -16px;
}

.sec5-cta2-image {
	display: block;
	width: 64%;
	height: auto;
	margin: -175px auto 0;
	position: relative;
	z-index: 2;
}

#site-footer {
	margin-top: 96px;
	margin-left: -16px;
	margin-right: -16px;
	width: calc(100% + 32px);
	padding: 24px 0 28px;
	text-align: center;
	background: #1a8c8c;
	color: #ffffff;
}

.footer-icon-image {
	display: block;
	width: 220px;
	height: auto;
	margin: 0 auto 16px;
}

.footer-info-line {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
}

.footer-company-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding: 0 16px;
}

.footer-company-item {
	white-space: nowrap;
}

.footer-divider {
	width: min(92%, 420px);
	height: 1px;
	margin: 10px auto 12px;
	background: rgba(255, 255, 255, 0.65);
}

.footer-contact-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding: 0 16px;
}

.footer-contact-item {
	white-space: nowrap;
}

.footer-info-line a {
	color: #ffffff;
	text-decoration: underline;
	word-break: break-all;
}

.footer-copy {
	margin: 16px 0 0;
	font-size: 12px;
	line-height: 1.6;
}

.fixed-footer-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 18px;
	width: var(--lp-width);
	margin-left: auto;
	margin-right: auto;
	display: block;
	z-index: 20;
}

.fixed-footer-cta-image {
	display: block;
	width: 100%;
	height: auto;
}

.pc-side-cta {
	display: none;
}

.pc-side-cta-left {
	display: none;
}

@media (min-width: 1024px) {
	.pc-side-cta {
		position: fixed;
		right: 72px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 19;
		display: block;
		width: min(500px, calc((100vw - var(--lp-width)) / 2 - 8px));
	}

	.pc-side-cta-left {
		position: fixed;
		left: 72px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 19;
		display: block;
		width: min(500px, calc((100vw - var(--lp-width)) / 2 - 8px));
	}

	.pc-side-cta-image {
		display: block;
		width: 100%;
		height: auto;
	}
}
