/**
 * 9d9ai brand layer for the migrated Okuyasu AI lesson LP.
 *
 * The original layout and imagery remain intact. This file aligns color and
 * typography with the 9d9ai design tokens without rewriting the source bundle.
 */

.ndai-okuyasu-ai-lp {
	--background: 0 0% 100%;
	--foreground: 0 0% 10%;
	--primary: 205 35% 39%;
	--primary-foreground: 0 0% 100%;
	--secondary: 45 16% 96%;
	--secondary-foreground: 0 0% 10%;
	--muted: 45 16% 96%;
	--muted-foreground: 210 11% 42%;
	--accent: 205 35% 39%;
	--accent-foreground: 0 0% 100%;
	--border: 135 5% 90%;
	--input: 135 5% 90%;
	--ring: 205 35% 39%;
	background: #fff;
	color: #1a1a1a;
	font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic",
		sans-serif;
}

.ndai-okuyasu-ai-lp #root h1,
.ndai-okuyasu-ai-lp #root h2 {
	font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.ndai-okuyasu-ai-lp #root p,
.ndai-okuyasu-ai-lp #root li,
.ndai-okuyasu-ai-lp #root blockquote {
	line-height: 1.9;
}

/* stylelint-disable selector-class-pattern -- Overrides generated Tailwind utility classes. */
.ndai-okuyasu-ai-lp .bg-brand-blue,
.ndai-okuyasu-ai-lp .bg-brand-orange,
.ndai-okuyasu-ai-lp .bg-\[\#3498db\],
.ndai-okuyasu-ai-lp .bg-\[\#e67e22\],
.ndai-okuyasu-ai-lp .btn-primary,
.ndai-okuyasu-ai-lp .btn-secondary {
	background-color: #416b88;
}

.ndai-okuyasu-ai-lp .hover\:bg-brand-orange\/90:hover,
.ndai-okuyasu-ai-lp .hover\:bg-\[\#3498db\]\/90:hover,
.ndai-okuyasu-ai-lp .hover\:bg-\[\#e67e22\]\/90:hover,
.ndai-okuyasu-ai-lp .btn-primary:hover,
.ndai-okuyasu-ai-lp .btn-secondary:hover {
	background-color: #385d76;
}

.ndai-okuyasu-ai-lp .text-brand-blue,
.ndai-okuyasu-ai-lp .text-brand-orange,
.ndai-okuyasu-ai-lp .text-\[\#3498db\],
.ndai-okuyasu-ai-lp .text-\[\#e67e22\] {
	color: #416b88;
}

.ndai-okuyasu-ai-lp .hover\:text-\[\#e67e22\]:hover {
	color: #385d76;
}

.ndai-okuyasu-ai-lp .bg-brand-dark {
	background-color: #1a1a1a;
}

.ndai-okuyasu-ai-lp .text-brand-dark {
	color: #1a1a1a;
}

.ndai-okuyasu-ai-lp .bg-brand-light {
	background-color: #f7f7f4;
}

.ndai-okuyasu-ai-lp .bg-brand-light\/50 {
	background-color: rgb(247 247 244 / 50%);
}

.ndai-okuyasu-ai-lp .bg-brand-blue\/10,
.ndai-okuyasu-ai-lp .bg-brand-orange\/10,
.ndai-okuyasu-ai-lp .bg-\[\#3498db\]\/10,
.ndai-okuyasu-ai-lp .bg-\[\#e67e22\]\/10,
.ndai-okuyasu-ai-lp .hover\:bg-\[\#3498db\]\/10:hover {
	background-color: rgb(65 107 136 / 10%);
}

.ndai-okuyasu-ai-lp .bg-\[\#3498db\]\/5,
.ndai-okuyasu-ai-lp .bg-\[\#e67e22\]\/5 {
	background-color: rgb(65 107 136 / 5%);
}

.ndai-okuyasu-ai-lp .bg-brand-blue\/20,
.ndai-okuyasu-ai-lp .border-brand-blue\/20,
.ndai-okuyasu-ai-lp .border-\[\#3498db\]\/20,
.ndai-okuyasu-ai-lp .border-\[\#e67e22\]\/20 {
	border-color: rgb(65 107 136 / 20%);
}

.ndai-okuyasu-ai-lp .bg-brand-highlight,
.ndai-okuyasu-ai-lp .bg-brand-highlight\/30 {
	background-color: #edf2f5;
}

.ndai-okuyasu-ai-lp .border-brand-blue,
.ndai-okuyasu-ai-lp .border-brand-orange,
.ndai-okuyasu-ai-lp .border-\[\#3498db\] {
	border-color: #416b88;
}

.ndai-okuyasu-ai-lp .border-brand-blue\/10 {
	border-color: rgb(65 107 136 / 10%);
}

.ndai-okuyasu-ai-lp .border-brand-orange\/30 {
	border-color: rgb(65 107 136 / 30%);
}

.ndai-okuyasu-ai-lp .text-brand-orange\/50 {
	color: rgb(65 107 136 / 50%);
}

.ndai-okuyasu-ai-lp .from-brand-orange\/50 {
	--tw-gradient-from: rgb(65 107 136 / 50%) var(--tw-gradient-from-position);
	--tw-gradient-to: rgb(65 107 136 / 0%) var(--tw-gradient-to-position);
}

.ndai-okuyasu-ai-lp .from-\[\#ecf0f1\] {
	--tw-gradient-from: #f7f7f4 var(--tw-gradient-from-position);
	--tw-gradient-to: rgb(247 247 244 / 0%) var(--tw-gradient-to-position);
}

.ndai-okuyasu-ai-lp .via-\[\#d6eaf8\] {
	--tw-gradient-to: rgb(237 242 245 / 0%) var(--tw-gradient-to-position);
	--tw-gradient-stops: var(--tw-gradient-from),
		#edf2f5 var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.ndai-okuyasu-ai-lp .to-\[\#3498db\]\/30 {
	--tw-gradient-to: rgb(65 107 136 / 30%) var(--tw-gradient-to-position);
}

.ndai-okuyasu-ai-lp .to-\[\#d6eaf8\]\/30 {
	--tw-gradient-to: rgb(237 242 245 / 30%) var(--tw-gradient-to-position);
}

.ndai-okuyasu-ai-lp .from-\[\#3498db\]\/20 {
	--tw-gradient-from: rgb(65 107 136 / 20%) var(--tw-gradient-from-position);
	--tw-gradient-to: rgb(65 107 136 / 0%) var(--tw-gradient-to-position);
}

.ndai-okuyasu-ai-lp .shadow-brand-orange\/20 {
	--tw-shadow-color: rgb(65 107 136 / 20%);
}

.ndai-okuyasu-ai-lp .shadow-\[\#3498db\]\/10 {
	--tw-shadow-color: rgb(65 107 136 / 10%);
}
/* stylelint-enable selector-class-pattern */

.ndai-okuyasu-ai-lp .section-title::after {
	background-color: #416b88;
}

.ndai-okuyasu-ai-lp #root a:focus-visible,
.ndai-okuyasu-ai-lp #root button:focus-visible {
	outline: 3px solid #416b88;
	outline-offset: 3px;
}

/* stylelint-disable no-descending-specificity, no-duplicate-selectors, selector-class-pattern -- This scoped override layer follows generated utility classes and fixed section order. */

/**
 * Layout refinement.
 *
 * Keep the migrated markup and imagery intact while bringing the page into the
 * 9d9ai spacing, hierarchy and responsive rhythm. Structural selectors are
 * intentionally scoped to this landing page so the generated source bundle can
 * remain untouched.
 */
.ndai-okuyasu-ai-lp {
	--lesson-content-width: 1180px;
	--lesson-section-space: clamp(4.5rem, 7vw, 6.5rem);
	--lesson-card-radius: 14px;
	--lesson-card-border: rgb(65 107 136 / 14%);
	--lesson-card-shadow: 0 16px 44px rgb(26 26 26 / 7%);
}

.ndai-okuyasu-ai-lp .container {
	max-width: var(--lesson-content-width);
}

.ndai-okuyasu-ai-lp #root p,
.ndai-okuyasu-ai-lp #root li,
.ndai-okuyasu-ai-lp #root blockquote {
	line-height: 1.75;
}

.ndai-okuyasu-ai-lp #root header {
	border-bottom: 1px solid transparent;
}

.ndai-okuyasu-ai-lp #root header.bg-white\/95 {
	border-bottom-color: rgb(65 107 136 / 10%);
	box-shadow: 0 8px 28px rgb(26 26 26 / 6%);
}

.ndai-okuyasu-ai-lp #root header nav > * + * {
	margin-left: clamp(1rem, 2vw, 2rem);
}

.ndai-okuyasu-ai-lp main > section[id] {
	scroll-margin-top: 5rem;
}

.ndai-okuyasu-ai-lp main > section:not(:first-child) {
	padding-top: var(--lesson-section-space);
	padding-bottom: var(--lesson-section-space);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(2) {
	background: #f7f7f4;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(3),
.ndai-okuyasu-ai-lp main > section:nth-of-type(6) {
	background: #fff;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(4),
.ndai-okuyasu-ai-lp main > section:nth-of-type(7) {
	background: #edf2f5;
}

.ndai-okuyasu-ai-lp .section-title {
	margin-bottom: 1.25rem;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.35;
}

.ndai-okuyasu-ai-lp .section-title::after {
	margin-top: 1.125rem;
	height: 2px;
	width: 4rem;
}

.ndai-okuyasu-ai-lp main > section:not(:first-child) > .container > div:first-child {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ndai-okuyasu-ai-lp .rounded-lg,
.ndai-okuyasu-ai-lp .rounded-xl {
	border-radius: var(--lesson-card-radius);
}

.ndai-okuyasu-ai-lp .shadow-md,
.ndai-okuyasu-ai-lp .shadow-lg,
.ndai-okuyasu-ai-lp .shadow-xl,
.ndai-okuyasu-ai-lp .shadow-2xl {
	box-shadow: var(--lesson-card-shadow);
}

.ndai-okuyasu-ai-lp .btn,
.ndai-okuyasu-ai-lp main a[class*="py-3"] {
	min-height: 3rem;
	border-radius: 8px;
	font-weight: 700;
}

/* Hero: fit the first view, remove repeated labels and keep one clear story. */
.ndai-okuyasu-ai-lp main > section:first-child {
	min-height: min(46rem, calc(100svh - 4.5rem));
	padding-top: clamp(5.5rem, 8vh, 6.75rem);
	padding-bottom: clamp(3.5rem, 6vh, 4.5rem);
}

.ndai-okuyasu-ai-lp main > section:first-child > .container > div {
	gap: clamp(2.5rem, 5vw, 4.5rem);
}

.ndai-okuyasu-ai-lp main > section:first-child h1 {
	max-width: none;
	font-size: clamp(2.5rem, 3vw, 3rem);
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.ndai-okuyasu-ai-lp main > section:first-child h1 + p {
	max-width: 38rem;
}

.ndai-okuyasu-ai-lp main > section:first-child > .container > div > div:first-child > div:last-child,
.ndai-okuyasu-ai-lp main > section:first-child > .container > div > div:last-child > div > div:nth-child(2) {
	display: none;
}

.ndai-okuyasu-ai-lp main > section:first-child > .container > div > div:last-child {
	border: 1px solid rgb(65 107 136 / 12%);
	box-shadow: 0 24px 60px rgb(26 26 26 / 11%);
}

.ndai-okuyasu-ai-lp main > section:first-child > .container > div > div:last-child > div > div:last-child {
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	border: 1px solid rgb(65 107 136 / 10%);
	box-shadow: 0 12px 28px rgb(26 26 26 / 9%);
}

/* Instructor: turn the three small cards into calm, readable profile facts. */
.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child {
	max-width: 62rem;
	align-items: stretch;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:first-child > div:first-child {
	width: 17.5rem;
	height: 17.5rem;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:last-child > div {
	height: 100%;
	border-color: var(--lesson-card-border);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:last-child > div > div:last-child {
	grid-template-columns: 1fr;
	gap: 0.625rem;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:last-child > div > div:last-child > div {
	display: grid;
	grid-template-columns: 2.5rem 9rem 1fr;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	text-align: left;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:last-child > div > div:last-child svg {
	width: 1.75rem;
	height: 1.75rem;
	margin: 0;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:last-child > div > div:last-child h4 {
	margin-top: 0;
	font-size: 1rem;
}

/* Features: use one lead card with two supporting cards instead of three repeats. */
.ndai-okuyasu-ai-lp main > section:nth-of-type(3) > .container > div:last-child {
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(3) > .container > div:last-child > div {
	align-items: flex-start;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	text-align: left;
	border-color: var(--lesson-card-border);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(3) > .container > div:last-child > div:first-child {
	grid-row: 1 / span 2;
	justify-content: center;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(3) > .container > div:last-child svg {
	margin-right: 0;
	margin-left: 0;
}

/* Service details: make the third overview item intentionally full-width. */
.ndai-okuyasu-ai-lp main > section:nth-of-type(4) > .container > div:nth-child(2) {
	gap: 1.5rem;
	margin-bottom: clamp(3.5rem, 6vw, 5rem);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(4) > .container > div:nth-child(2) > div {
	border-color: var(--lesson-card-border);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(4) > .container > div:nth-child(2) > div:last-child {
	grid-column: 1 / -1;
}

/* Flow: a compact four-step sequence on desktop. */
.ndai-okuyasu-ai-lp main > section:nth-of-type(5) > .container > div:nth-child(2) {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	max-width: 72rem;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(5) > .container > div:nth-child(2) > div > div:first-child {
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	margin-bottom: 0;
	padding: 1.5rem;
	border: 1px solid rgb(255 255 255 / 14%);
	border-radius: var(--lesson-card-radius);
	background: rgb(255 255 255 / 5%);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(5) > .container > div:nth-child(2) > div > div:first-child > div:first-child {
	width: 3.5rem;
	height: 3.5rem;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(5) > .container > div:nth-child(2) > div > div:not(:first-child) {
	display: none;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(5) > .container > div:last-child {
	margin-top: 2.5rem;
}

/* Pricing: keep the 5-session choice prominent without equal columns. */
.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:nth-child(2) {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 0.9fr);
	align-items: stretch;
	gap: 1.25rem;
	max-width: 68rem;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:nth-child(2) > div {
	transform: none;
	border-color: var(--lesson-card-border);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:nth-child(2) > div > div:last-child {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:nth-child(2) > div > div:last-child > a:last-child {
	margin-top: auto;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:last-child {
	margin-top: 3rem;
	border-color: var(--lesson-card-border);
}

/* Testimonials: alternate wide and compact cards to avoid a repeated grid. */
.ndai-okuyasu-ai-lp main > section:nth-of-type(7) > .container > div:nth-child(2) {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1.25rem;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(7) > .container > div:nth-child(2) > div {
	grid-column: span 5;
	border-color: var(--lesson-card-border);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(7) > .container > div:nth-child(2) > div:nth-child(odd) {
	grid-column: span 7;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(7) blockquote {
	font-style: normal;
}

/* FAQ and final CTA: clearer boundaries and calmer depth. */
.ndai-okuyasu-ai-lp main > section:nth-of-type(8) > .container > div:nth-child(2) {
	border: 1px solid var(--lesson-card-border);
	box-shadow: var(--lesson-card-shadow);
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(8) button {
	min-height: 3rem;
}

.ndai-okuyasu-ai-lp main > section:nth-of-type(9) > .container > div > div {
	border: 1px solid rgb(255 255 255 / 12%);
	box-shadow: 0 28px 72px rgb(0 0 0 / 22%);
}

.ndai-okuyasu-ai-lp #root footer {
	border-top: 1px solid rgb(65 107 136 / 12%);
}

@media (max-width: 1023px) {

	.ndai-okuyasu-ai-lp main > section:nth-of-type(5) > .container > div:nth-child(2) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:nth-child(2) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:nth-child(2) > div:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {

	.ndai-okuyasu-ai-lp {
		--lesson-section-space: 4rem;
	}

	.ndai-okuyasu-ai-lp .container {
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}

	.ndai-okuyasu-ai-lp #root header {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
		background: rgb(255 255 255 / 92%);
		backdrop-filter: blur(12px);
		border-bottom-color: rgb(65 107 136 / 10%);
	}

	.ndai-okuyasu-ai-lp #root header img {
		height: 2rem;
	}

	.ndai-okuyasu-ai-lp main > section:first-child {
		min-height: 0;
		padding-top: 6.75rem;
		padding-bottom: 3.5rem;
	}

	.ndai-okuyasu-ai-lp main > section:first-child > .container > div {
		gap: 2rem;
	}

	.ndai-okuyasu-ai-lp main > section:first-child h1 {
		max-width: none;
		font-size: 1.625rem;
		line-height: 1.45;
		letter-spacing: 0;
	}

	.ndai-okuyasu-ai-lp main > section:first-child h1 br {
		display: block;
	}

	.ndai-okuyasu-ai-lp main > section:first-child h1 + p {
		margin-bottom: 1.5rem;
	}

	.ndai-okuyasu-ai-lp main > section:first-child > .container > div > div:first-child > span:first-child {
		margin-bottom: 1.25rem;
		padding: 0.375rem 0.875rem;
		font-size: 1rem;
	}

	.ndai-okuyasu-ai-lp main > section:first-child > .container > div > div:first-child > div:nth-of-type(1) {
		gap: 0.75rem;
		margin-bottom: 0;
	}

	.ndai-okuyasu-ai-lp main > section:first-child > .container > div > div:first-child > div:nth-of-type(1) a {
		width: auto;
		min-width: min(100%, 10rem);
	}

	.ndai-okuyasu-ai-lp main > section:first-child > .container > div > div:last-child > div > div:last-child {
		bottom: 0.75rem;
		padding: 0.875rem;
	}

	.ndai-okuyasu-ai-lp .section-title {
		font-size: 1.875rem;
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:first-child > div:first-child {
		width: min(16rem, 78vw);
		height: min(16rem, 78vw);
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:last-child > div > div:last-child > div {
		grid-template-columns: 2rem 1fr;
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(2) > .container > div:last-child > div:last-child > div > div:last-child p {
		grid-column: 2;
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(3) > .container > div:last-child,
	.ndai-okuyasu-ai-lp main > section:nth-of-type(5) > .container > div:nth-child(2),
	.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:nth-child(2),
	.ndai-okuyasu-ai-lp main > section:nth-of-type(7) > .container > div:nth-child(2) {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: none;
		gap: 1rem;
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(3) > .container > div:last-child > div:first-child {
		grid-row: auto;
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(4) > .container > div:nth-child(2) > div:last-child,
	.ndai-okuyasu-ai-lp main > section:nth-of-type(6) > .container > div:nth-child(2) > div:last-child,
	.ndai-okuyasu-ai-lp main > section:nth-of-type(7) > .container > div:nth-child(2) > div,
	.ndai-okuyasu-ai-lp main > section:nth-of-type(7) > .container > div:nth-child(2) > div:nth-child(odd) {
		grid-column: auto;
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(5) > .container > div:nth-child(2) > div > div:first-child {
		padding: 1.25rem;
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(8) > .container > div:nth-child(2) {
		padding: 1.25rem;
	}

	.ndai-okuyasu-ai-lp main > section:nth-of-type(9) > .container > div > div > div > div {
		padding: 1.5rem;
	}

	.ndai-okuyasu-ai-lp #root footer > .container {
		padding-top: 3rem;
		padding-bottom: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {

	.ndai-okuyasu-ai-lp #root *,
	.ndai-okuyasu-ai-lp #root *::before,
	.ndai-okuyasu-ai-lp #root *::after {
		scroll-behavior: auto;
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
	}
}

/* stylelint-enable no-descending-specificity, no-duplicate-selectors, selector-class-pattern */

/**
 * 9d9ai common shell + lesson-local navigation.
 * The migrated React header/footer stay in the preserved bundle but are hidden
 * in favor of the canonical 9d9ai header/footer rendered by WordPress.
 */
/* stylelint-disable no-descending-specificity, selector-class-pattern, selector-id-pattern -- Scoped integration overrides generated LP selectors and WordPress IDs. */
.ndai-okuyasu-ai-lp #root > div > header:first-child,
.ndai-okuyasu-ai-lp #root > div > footer:last-child {
	display: none;
}

.ndai-okuyasu-ai-lp .ndai-site-header,
.ndai-okuyasu-ai-lp .ndai-site-footer,
.ndai-okuyasu-ai-lp .ndai-lesson-local-nav,
.ndai-okuyasu-ai-lp .ndai-lesson-breadcrumbs {
	font-family: var(--wp--preset--font-family--sans, "Zen Kaku Gothic New", sans-serif);
}

.ndai-okuyasu-ai-lp .ndai-site-footer h2 {
	font-family: inherit;
}

.ndai-lesson-local-nav {
	background: #fff;
	border-bottom: 1px solid rgb(65 107 136 / 14%);
}

.ndai-lesson-local-nav__inner {
	align-items: center;
	display: flex;
	gap: clamp(1.5rem, 3vw, 3rem);
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 80rem);
	min-height: 4rem;
	padding-inline: var(--wp--preset--spacing--55, 3rem);
}

.ndai-lesson-local-nav__brand {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
}

.ndai-lesson-local-nav__brand img {
	height: auto;
	max-width: 11.5rem;
	width: auto;
}

.ndai-lesson-local-nav__links {
	align-items: center;
	display: flex;
	gap: clamp(1rem, 2vw, 1.75rem);
	margin-inline-start: auto;
}

.ndai-lesson-local-nav__links a {
	color: #1a1a1a;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.ndai-lesson-local-nav__links a:hover {
	color: #416b88;
}

.ndai-lesson-local-nav :where(a:focus-visible) {
	outline: 3px solid #416b88;
	outline-offset: 3px;
}

.ndai-lesson-breadcrumbs {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 80rem);
	padding-bottom: 0.625rem;
	padding-inline: var(--wp--preset--spacing--55, 3rem);
	padding-top: 0.625rem;
}

.ndai-okuyasu-ai-lp .wp-site-blocks > #wp--skip-link--target {
	transition: filter 0.24s ease, opacity 0.24s ease;
}

.ndai-okuyasu-ai-lp.ndai-meganav-panel-open .wp-site-blocks > #wp--skip-link--target,
.ndai-okuyasu-ai-lp.ndai-meganav-panel-open .wp-site-blocks > .ndai-lesson-local-nav,
.ndai-okuyasu-ai-lp.ndai-meganav-panel-open .wp-site-blocks > .ndai-lesson-breadcrumbs {
	filter: blur(0.375rem);
	opacity: 0.72;
	pointer-events: none;
}

@media (max-width: 59.99rem) {

	.ndai-lesson-local-nav__inner {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		padding: 0.625rem 0 0;
	}

	.ndai-lesson-local-nav__brand {
		padding-inline: 1.25rem;
	}

	.ndai-lesson-local-nav__brand img {
		max-width: 9.75rem;
	}

	.ndai-lesson-local-nav__links {
		gap: 1.25rem;
		margin: 0;
		overflow-x: auto;
		padding: 0.625rem 1.25rem 0.75rem;
		scrollbar-width: none;
	}

	.ndai-lesson-local-nav__links::-webkit-scrollbar {
		display: none;
	}

	.ndai-lesson-local-nav__links a {
		font-size: 0.8125rem;
	}

	.ndai-lesson-breadcrumbs {
		padding-inline: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {

	.ndai-okuyasu-ai-lp .wp-site-blocks > #wp--skip-link--target {
		transition: none;
	}
}
/* stylelint-enable no-descending-specificity, selector-class-pattern, selector-id-pattern */
