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

:root {
	--sojp-primary: #00a64a;
	--sojp-primary-dark: #00863b;
	--sojp-text: #252e30;
	--sojp-text-muted: #5b6472;
	--sojp-bg-alt: #f0f0f0;
	--sojp-border: #dfe4ec;
	--sojp-dark: #252e30;
	--sojp-radius: 2px;
	--sojp-max-width: 1120px;
	--sojp-narrow-width: 802px;
	--sojp-link: #00c0eb;
	--sojp-link-hover: #00b1d9;
	--sojp-font-heading: 'Poppins', 'Noto Sans JP', sans-serif;
	--sojp-font-body: 'Noto Sans JP', sans-serif;
}

html {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.sojp-lp {
	background: #fff;
	flex: 1 0 auto;
}

.sojp-lp,
.sojp-nav,
.sojp-footer {
	color: var(--sojp-text);
	font-family: var(--sojp-font-body);
	font-feature-settings: "palt";
	overflow-x: hidden;
}

.sojp-lp h1,
.sojp-lp h2,
.sojp-lp h3,
.sojp-nav__name {
	font-family: var(--sojp-font-heading);
}

.sojp-container {
	max-width: var(--sojp-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.sojp-section {
	padding: 72px 0;
}

.sojp-section__title {
	font-size: 1.75rem;
	text-align: center;
	margin: 0 0 40px;
}

/* Body-copy links (nav/footer/buttons/cards define their own colors) */
.sojp-hero__lead a,
.sojp-benefits__intro-text a,
.sojp-benefits__text a,
.sojp-accordion__body a,
.sojp-cta__text a,
.sojp-trust__text a,
.sojp-resources__excerpt a,
.sojp-testimonials__quote a,
.sojp-subpage-banner__lead a {
	color: var(--sojp-link);
}

.sojp-hero__lead a:hover,
.sojp-benefits__intro-text a:hover,
.sojp-benefits__text a:hover,
.sojp-accordion__body a:hover,
.sojp-cta__text a:hover,
.sojp-trust__text a:hover,
.sojp-resources__excerpt a:hover,
.sojp-testimonials__quote a:hover,
.sojp-subpage-banner__lead a:hover {
	color: var(--sojp-link-hover);
}

/* Nav */
.sojp-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	height: auto;
	overflow: visible;
	background: #fff;
	border-bottom: 1px solid var(--sojp-border);
}

.sojp-nav__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.sojp-nav__brands {
	display: flex;
	align-items: center;
	gap: 16px;
}

.sojp-nav__ob-link {
	display: flex;
	align-items: center;
	padding-right: 16px;
	border-right: 1px solid var(--sojp-border);
}

.sojp-nav__ob-logo {
	height: 32px;
	width: auto;
}

.sojp-nav__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--sojp-text);
}

.sojp-nav__logo {
	width: 32px;
	height: 32px;
}

.sojp-nav__name {
	font-weight: 700;
	font-size: 1.1rem;
}

.sojp-nav__menu {
	display: flex;
	gap: 28px;
	flex: 1;
	justify-content: flex-end;
}

.sojp-nav__menu a {
	color: var(--sojp-text);
	text-decoration: none;
	font-weight: 500;
}

.sojp-nav__menu a:hover {
	color: var(--sojp-primary);
}

.sojp-nav__actions {
	display: flex;
	gap: 10px;
}

/* Mobile nav toggle */
.sojp-nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}

.sojp-nav__toggle-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--sojp-text);
}

.sojp-nav__collapse {
	display: contents;
}

@media (max-width: 960px) {
	.sojp-nav__toggle {
		display: flex;
	}

	.sojp-nav__brands {
		gap: 10px;
	}

	.sojp-nav__ob-link {
		padding-right: 10px;
	}

	.sojp-nav__ob-logo {
		height: 18px;
	}

	.sojp-nav__name {
		display: none;
	}

	.sojp-nav__collapse {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		background: #fff;
		border-bottom: 1px solid var(--sojp-border);
		padding: 20px 24px 24px;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
	}

	.sojp-nav__collapse.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
	}

	.sojp-nav__menu {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 16px;
	}

	.sojp-nav__actions {
		width: 100%;
	}

	.sojp-nav__actions .sojp-btn {
		flex: 1;
		text-align: center;
	}
}

/* Buttons */
.sojp-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: var(--sojp-radius);
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sojp-btn--sm {
	padding: 8px 18px;
	font-size: 0.9rem;
}

.sojp-btn--primary {
	background: var(--sojp-primary);
	color: #fff;
}

.sojp-btn--primary:hover {
	background: var(--sojp-primary-dark);
	color: #fff;
}

.sojp-btn--secondary {
	background: #ebebeb;
	color: var(--sojp-text);
}

.sojp-btn--secondary:hover {
	background: #ddd;
}

/* Hero */
.sojp-hero {
	padding: 96px 0;
	text-align: left;
	background-color: var(--sojp-dark);
	background-size: cover;
	background-position: center;
	color: #fff;
}

.sojp-hero__title {
	font-size: 3rem;
	font-weight: 300;
	line-height: 1.3;
	margin: 0 0 16px;
	color: #fff;
}

.sojp-hero__subtitle {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 24px;
	color: #fff;
}

.sojp-hero__lead {
	font-size: 1rem;
	max-width: 640px;
	margin: 0 0 32px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.85);
}

.sojp-hero__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* Video */
.sojp-video__player {
	display: block;
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	border-radius: var(--sojp-radius);
}

/* Features */
.sojp-features__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 32px;
}

.sojp-features__item {
	text-align: center;
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.06);
}

.sojp-features__icon {
	display: block;
	margin: 0 auto 16px;
}

.sojp-features__title {
	font-size: 1rem;
	margin: 0 0 8px;
}

.sojp-features__text {
	font-size: 0.875rem;
	color: var(--sojp-text-muted);
	line-height: 1.7;
	margin: 0;
}

/* Benefits */
.sojp-benefits .sojp-container {
	max-width: var(--sojp-narrow-width);
}

.sojp-benefits__intro {
	text-align: center;
	margin: 0 auto 56px;
}

.sojp-benefits__intro-text {
	color: var(--sojp-text-muted);
	line-height: 1.9;
}

.sojp-benefits__row {
	display: flex;
	align-items: center;
	gap: 48px;
	margin-bottom: 64px;
}

.sojp-benefits__row:last-child {
	margin-bottom: 0;
}

.sojp-benefits__row--image-right {
	flex-direction: row-reverse;
}

.sojp-benefits__media,
.sojp-benefits__body {
	flex: 1 1 50%;
}

.sojp-benefits__media img {
	width: 100%;
	height: auto;
	border-radius: var(--sojp-radius);
	display: block;
}

.sojp-benefits__title {
	font-size: 1.375rem;
	margin: 0 0 16px;
}

.sojp-benefits__text {
	color: var(--sojp-text-muted);
	line-height: 1.9;
	margin: 0;
}

/* Accordion (shared by "How it helps" and FAQ) */
.sojp-accordion {
	max-width: 800px;
	margin: 0 auto;
}

.sojp-accordion__item {
	border-top: 1px solid #c2c7cc;
}

.sojp-accordion__item:last-child {
	border-bottom: 1px solid #c2c7cc;
}

.sojp-accordion__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 40px 16px 8px;
	cursor: pointer;
	font-weight: 700;
	list-style: none;
	background-image: url('../images/chevron-down.png');
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 18px;
}

.sojp-accordion__item[open] .sojp-accordion__header {
	background-image: url('../images/chevron-up.png');
}

.sojp-accordion__header::-webkit-details-marker {
	display: none;
}

.sojp-accordion__title {
	flex: 1;
}

.sojp-accordion__header:hover .sojp-accordion__title {
	color: var(--sojp-primary);
}

.sojp-accordion__icon {
	flex-shrink: 0;
}

.sojp-accordion__body {
	padding: 0 8px 20px;
	color: var(--sojp-text-muted);
	line-height: 1.8;
}

.sojp-accordion__body ul {
	margin: 0;
	padding-left: 1.2em;
}

.sojp-accordion__body li {
	margin-bottom: 8px;
}

.sojp-accordion__body p {
	margin: 0;
}

/* Resources */
.sojp-resources__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.sojp-resources__card {
	flex: 0 1 calc((100% - 48px) / 3);
}

.sojp-resources__card {
	background: #fff;
	border: 1px solid var(--sojp-border);
	border-radius: var(--sojp-radius);
	overflow: hidden;
}

.sojp-resources__thumb {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.sojp-resources__body {
	padding: 24px;
}

.sojp-resources__title {
	font-size: 1.05rem;
	margin: 0 0 12px;
}

.sojp-resources__excerpt {
	color: var(--sojp-text-muted);
	font-size: 0.9rem;
	line-height: 1.7;
	margin: 0 0 16px;
}

.sojp-resources__meta {
	font-size: 0.8rem;
	color: var(--sojp-text-muted);
	margin: 0;
}

/* Pricing */
.sojp-pricing__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

.sojp-pricing__card {
	background: #fff;
	border: 1px solid var(--sojp-border);
	border-radius: var(--sojp-radius);
	padding: 32px;
	text-align: center;
}

.sojp-pricing__icon {
	margin: 0 auto 16px;
}

.sojp-pricing__name {
	font-size: 1.25rem;
	margin: 0 0 8px;
}

.sojp-pricing__tagline {
	color: var(--sojp-text-muted);
	margin: 0 0 20px;
}

.sojp-pricing__price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--sojp-primary);
	margin: 0 0 24px;
}

.sojp-pricing__unit {
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--sojp-text-muted);
}

.sojp-pricing__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.sojp-pricing__features {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--sojp-border);
	padding-top: 20px;
	text-align: left;
}

.sojp-pricing__features li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 12px;
	line-height: 1.7;
	font-size: 0.9rem;
}

.sojp-pricing__features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--sojp-primary);
	font-weight: 700;
}

/* Testimonials */
.sojp-testimonials {
	background: var(--sojp-bg-alt);
}

.sojp-testimonials__slider {
	position: relative;
}

.sojp-testimonials__viewport {
	overflow: hidden;
}

.sojp-testimonials__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.sojp-testimonials__track::-webkit-scrollbar {
	display: none;
}

.sojp-testimonials__item {
	flex: 0 0 100%;
	scroll-snap-align: start;
	margin: 0;
	padding: 0 40px;
	text-align: center;
	border: none;
}

.sojp-testimonials__quote {
	font-size: 1rem;
	line-height: 1.9;
	margin: 0 0 16px;
	color: var(--sojp-text);
}

.sojp-testimonials__footer {
	color: var(--sojp-text);
	font-size: 1rem;
	font-weight: 700;
	font-style: normal;
}

.sojp-testimonials__prev,
.sojp-testimonials__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 32px;
	min-width: 32px;
	height: 32px;
	min-height: 32px;
	margin: 0;
	padding: 0;
	border: none;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px;
	font-size: 0;
	line-height: 0;
	color: transparent;
	cursor: pointer;
	z-index: 1;
	opacity: 0.9;
}

.sojp-testimonials__prev {
	left: 0;
	background-image: url('../images/chevron-left.svg');
}

.sojp-testimonials__next {
	right: 0;
	background-image: url('../images/chevron-right.svg');
}

.sojp-testimonials__prev:hover,
.sojp-testimonials__next:hover {
	opacity: 1;
}

/* CTA */
.sojp-cta {
	text-align: center;
}

.sojp-cta__title {
	font-size: 1.75rem;
	margin: 0 0 32px;
}

.sojp-cta__text {
	color: var(--sojp-text-muted);
	max-width: 640px;
	margin: 32px auto;
	line-height: 1.9;
}

/* FAQ */
.sojp-faq {
	background: var(--sojp-bg-alt);
}

/* Trust */
.sojp-trust__inner {
	display: flex;
	align-items: center;
	gap: 48px;
}

.sojp-trust__media,
.sojp-trust__body {
	flex: 1 1 50%;
}

.sojp-trust__media img {
	width: 100%;
	height: auto;
	display: block;
}

.sojp-trust__title {
	font-size: 1.75rem;
	margin: 0 0 16px;
}

.sojp-trust__text {
	color: var(--sojp-text-muted);
	margin: 0 0 32px;
	line-height: 1.9;
}

/* Footer */
.sojp-footer {
	background: #1f2121;
	color: #e5e5e5;
	padding: 56px 0 0;
}

.sojp-footer__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding-bottom: 40px;
}

.sojp-footer__col {
	flex: 1 1 200px;
}

.sojp-footer__col--brand {
	flex: 1 1 200px;
	display: flex;
	align-items: flex-start;
}

.sojp-footer__ob-logo {
	width: 160px;
	height: auto;
}

.sojp-footer__col-title {
	margin: 0 0 16px;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
}

.sojp-footer__col-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sojp-footer__col-menu li {
	margin-bottom: 10px;
}

.sojp-footer__col-menu a {
	color: #fff;
	text-decoration: none;
	font-size: 0.8rem;
}

.sojp-footer__col-menu a:hover {
	color: rgba(255, 255, 255, 0.7);
}

.sojp-footer__copy {
	padding: 20px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.85rem;
	color: #fff;
	text-align: center;
}

/* Simple pages (contact / trial / thanks) */
.sojp-simple-page {
	background: #fff;
}

.sojp-breadcrumb {
	font-size: 0.7rem;
	color: #999;
	margin-bottom: 32px;
}

.sojp-breadcrumb a {
	color: #999;
}

.sojp-breadcrumb a:hover {
	color: var(--sojp-text);
}

.sojp-breadcrumb__sep {
	margin: 0 6px;
}

.sojp-simple-page__title {
	font-size: 2.25rem;
	font-weight: 600;
	color: #333;
	text-align: center;
	margin: 0 0 32px;
}

.sojp-simple-page__lead {
	text-align: center;
	color: #333;
	line-height: 1.9;
	margin: 0 0 32px;
}

.sojp-simple-page__body p {
	color: #333;
	line-height: 1.9;
	margin: 0 0 20px;
}

.sojp-simple-page__body h4 {
	font-size: 1.125rem;
	font-weight: 600;
	color: #333;
	margin: 32px 0 16px;
}

.sojp-simple-page__body a:not(.sojp-btn) {
	color: #666;
}

.sojp-simple-page__body .sojp-btn {
	margin-top: 12px;
}

/* Subpages (support / help center) */
.sojp-subpage-banner {
	padding: 64px 0;
	text-align: center;
	background-color: var(--sojp-dark);
	background-size: cover;
	background-position: center;
	color: #fff;
}

.sojp-subpage-banner__title {
	font-size: 2.25rem;
	font-weight: 300;
	margin: 0 0 16px;
	color: #fff;
}

.sojp-subpage-banner__lead {
	max-width: 640px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.8;
}

.sojp-form-ct {
	max-width: 760px;
}

.sojp-thanks__inner {
	text-align: center;
}

.sojp-support__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.sojp-support__card {
	flex: 0 1 calc((100% - 48px) / 3);
	display: block;
	background: #fff;
	border: 1px solid var(--sojp-border);
	border-radius: var(--sojp-radius);
	padding: 28px;
	text-decoration: none;
	color: var(--sojp-text);
	transition: border-color 0.15s ease;
}

.sojp-support__card:hover {
	border-color: var(--sojp-primary);
}

.sojp-support__title {
	margin: 0 0 12px;
	font-size: 1.1rem;
}

.sojp-support__text {
	margin: 0;
	color: var(--sojp-text-muted);
	font-size: 0.9rem;
	line-height: 1.7;
}

/* Responsive */
@media (max-width: 960px) {
	.sojp-features__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.sojp-resources__card {
		flex-basis: calc((100% - 24px) / 2);
	}
}

@media (max-width: 768px) {
	.sojp-section {
		padding: 48px 0;
	}

	.sojp-hero {
		padding: 64px 0;
	}

	.sojp-hero__title {
		font-size: 2rem;
	}

	.sojp-benefits__row,
	.sojp-benefits__row--image-right,
	.sojp-trust__inner {
		flex-direction: column;
	}

	.sojp-pricing__grid {
		grid-template-columns: 1fr;
	}

	.sojp-support__card {
		flex-basis: 100%;
	}
}

@media (max-width: 560px) {
	.sojp-features__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sojp-resources__card {
		flex-basis: 100%;
	}
}
