/* LinoPod components — values from the LinoPod design system (linopod.com). */
:root {
	--lp-navy: var(--wp--preset--color--brand-navy);
	--lp-yellow: var(--wp--preset--color--sun-yellow);
	--lp-yellow-light: var(--wp--preset--color--sun-yellow-light);
	--lp-green: var(--wp--preset--color--leaf-green);
	--lp-orange: var(--wp--preset--color--cta-orange);
	--lp-signal: var(--wp--preset--color--signal-orange);
	--lp-gold: var(--wp--preset--color--gold);
	--lp-heading: var(--wp--preset--color--heading-gray);
	--lp-heading-font: var(--wp--preset--font-family--kaku); /* headings, labels, buttons */
	--lp-header-h: var(--wp--custom--header-height, 80px);
	/* Sign-up / apply buttons: LinoPod green (white text 3.0:1 — keep labels bold and 19px+). */
	--lp-action: var(--wp--preset--color--leaf-green);
	--lp-action-hover: #267f41;
	--lp-action-text: #267f41; /* green for text on white, 4.9:1 */
}

body { margin: 0; }

/* Large headings (h1–h3) in Zen Old Mincho; labels, cards and buttons stay gothic (--lp-heading-font).
   !important because many heading classes set var(--lp-heading-font) themselves. */
:is(h1, h2, h3) { font-family: var(--wp--preset--font-family--mincho) !important; letter-spacing: 0.06em; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 2px; }

/* NavBar */
.lp-nav {
	position: sticky; top: 0; z-index: 100;
	min-height: var(--lp-header-h);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--header);
	padding-inline: var(--wp--preset--spacing--30) !important;
}
.admin-bar .lp-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .lp-nav { top: 46px; } }
.lp-nav .wp-block-site-logo img { height: 50px; width: auto; }
.lp-nav .wp-block-site-title a { text-decoration: none; }
.lp-nav__logo { display: block; line-height: 0; }
.lp-nav__logo img { height: 44px; width: auto; }
.lp-nav__logo:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 4px; }
@media (max-width: 599px) { .lp-nav__logo img { height: 34px; } }
.lp-nav .wp-block-navigation a { text-decoration: none; }
.lp-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--surface-sky); }

/* Hero */
.lp-hero {
	min-height: 600px; display: grid; align-content: center;
	background: var(--lp-navy); color: #fff;
	padding-block: var(--wp--preset--spacing--70);
}
.lp-hero .lp-hero__lead {
	font-family: var(--wp--preset--font-family--kaku); font-weight: 400;
	font-size: clamp(22px, 3.75vw, 38.4px); line-height: 1.6666; letter-spacing: 0.1em;
	color: #fff; margin: 0;
}
.lp-hero .lp-hero__sub { color: #fff; font-family: var(--lp-heading-font); font-size: 20px; margin-top: var(--wp--preset--spacing--20); }

/* Worry band — sun-yellow with dots */
.lp-worry {
	background-color: var(--lp-yellow);
	background-image: radial-gradient(var(--lp-yellow-light) 6px, transparent 6.5px);
	background-size: 30px 30px;
	padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--70);
	color: var(--wp--preset--color--text-black);
}
.lp-worry .lp-worry__title { color: var(--wp--preset--color--text-black); text-align: center; font-size: clamp(22px, 3vw, 30px); text-shadow: 2px 2px 0 #fff; }
.lp-worry .lp-worry__list { list-style: none; padding: 0; margin: var(--wp--preset--spacing--30) auto 0; display: grid; gap: var(--wp--preset--spacing--15); max-width: 720px; }
.lp-worry .lp-worry__list li { background: #fff; padding: var(--wp--preset--spacing--15) var(--wp--preset--spacing--20); font-family: var(--lp-heading-font); font-weight: 700; font-size: 20px; color: var(--lp-heading); }

/* Features */
.lp-features { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-features .lp-features__catch { font-family: var(--wp--preset--font-family--eng); font-weight: 700; color: var(--lp-green); font-size: clamp(28px, 4vw, 40px); line-height: 1.25; margin: 0; }
.lp-features__list { list-style: none; padding: 0; margin: var(--wp--preset--spacing--40) 0 0; counter-reset: feature; display: grid; gap: var(--wp--preset--spacing--25); }
.lp-features__list > li { counter-increment: feature; display: grid; grid-template-columns: 64px 1fr; gap: var(--wp--preset--spacing--20); align-items: start; border-left: 0; }
.lp-features__list > li > * { grid-column: 2; }
.lp-features__list > li::before { grid-column: 1; grid-row: 1 / span 3; content: counter(feature); font-family: var(--wp--preset--font-family--eng); font-size: 64px; line-height: 1; color: var(--lp-gold); text-align: center; }
.lp-features__list strong { display: block; font-family: var(--lp-heading-font); font-size: 26px; color: #000; }
.lp-features__list span { display: block; font-family: var(--lp-heading-font); font-size: 24px; color: #000; }
.lp-features__list small { display: block; font-size: 12.8px; color: var(--wp--preset--color--text-gray); margin-top: 4px; }
@media (max-width: 599px) {
	.lp-features__list > li { grid-template-columns: 44px 1fr; }
	.lp-features__list > li::before { font-size: 44px; }
	.lp-features__list strong { font-size: 20px; }
	.lp-features__list span { font-size: 17px; }
}

/* Section titles & links */
.lp-section-title { color: var(--lp-heading); }
.lp-center { text-align: center; }
.lp-link a, a.lp-link { font-family: var(--lp-heading-font); font-size: 15px; color: var(--lp-heading); text-decoration: underline; }

/* Genre cards */
.lp-genre-section { padding-block: var(--wp--preset--spacing--100); }
.lp-genre-lead { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 3vw, 30px); text-align: center; color: #000; max-width: 630px; margin-inline: auto !important; }
.lp-genre-grid { gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20) !important; margin-top: var(--wp--preset--spacing--40) !important; }
.lp-genre { gap: var(--wp--preset--spacing--10); }
.lp-genre .lp-genre__title { margin: 0; font-size: clamp(20px, 2.4vw, 30px); color: #000; text-align: center; border-bottom: 1px solid #000; }
.lp-genre .lp-genre__img { aspect-ratio: 670 / 320; flex: 0 0 auto; width: 100%; margin: 0; background: var(--wp--preset--color--surface-gray); overflow: hidden; }
.lp-genre .lp-genre__img img { width: 100%; height: 100%; object-fit: cover; }
.lp-genre p { margin: 0; font-size: 15px; flex: 1 1 auto; }
.lp-genre { height: 100%; }

/* CTA banner */
.lp-cta { padding-block: var(--wp--preset--spacing--70); text-align: center; }
.lp-cta .lp-cta__catch { font-family: var(--lp-heading-font); font-weight: 700; font-size: 20px; color: var(--lp-heading); margin: 0 0 var(--wp--preset--spacing--10); }
.lp-cta .wp-block-button__link { background: var(--lp-signal); font-size: clamp(24px, 3vw, 32px); padding: 18px 48px; border: 0; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2); }

/* Flow steps */
.lp-gray { background: var(--wp--preset--color--surface-gray); padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-panel { background: var(--wp--preset--color--surface); padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30); }
.lp-flow { list-style: none; padding: 0; margin: var(--wp--preset--spacing--30) auto 0; max-width: 720px; counter-reset: step; display: flex; flex-direction: column; gap: var(--wp--preset--spacing--15); }
.lp-flow li { counter-increment: step; display: flex; align-items: center; gap: 12px; padding: 15px 20px; border: 3px solid var(--wp--preset--color--flow-border); border-radius: var(--wp--custom--radius--pill); font-family: var(--lp-heading-font); font-weight: 700; font-size: 20px; color: var(--lp-heading); }
.lp-flow li::before { content: counter(step); flex: 0 0 auto; width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 17px; line-height: 1; }
@media (max-width: 599px) { .lp-flow li { font-size: 16px; } }

/* News list */
.lp-news { padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--100); }
.lp-news__inner { max-width: 700px; margin-inline: auto; }
.lp-news__header { justify-content: space-between; align-items: center; }
.lp-news__list .wp-block-post-template { margin-top: 1rem; }
.lp-news__list .wp-block-post-template > li { margin: 0; }
.lp-news__item { padding: 14px 0; border-bottom: 1px solid var(--wp--preset--color--rule-gray); gap: 30px !important; font-family: var(--lp-heading-font); font-size: 20px; }
.lp-news__list li:first-child .lp-news__item { border-top: 1px solid var(--wp--preset--color--rule-gray); }
.lp-news__item .wp-block-post-title { font-size: 20px; font-weight: 400; margin: 0; }
.lp-news__item .wp-block-post-title a { color: var(--lp-heading); text-decoration: none; }

/* Posts & pages */
.lp-main { padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--100); }
.lp-post-card { padding-block: var(--wp--preset--spacing--25); border-bottom: 1px solid var(--wp--preset--color--border-color); }
.lp-post-card .wp-block-post-title a { text-decoration: none; color: var(--lp-heading); }

/* Tags */
.lp-tag, .wp-block-post-terms.lp-tags a { display: inline-block; padding: 0.2em 0.4em; margin-right: 5px; border-radius: var(--wp--custom--radius--tag); background: var(--wp--preset--color--tag-green-bg); color: var(--wp--preset--color--tag-green); font-family: var(--wp--preset--font-family--sans); font-size: 13.5px; text-decoration: none; }
.wp-block-post-terms.lp-tags .wp-block-post-terms__separator { display: none; }

/* Pagination */
.lp-pager { gap: 0 !important; justify-content: center; margin-top: var(--wp--preset--spacing--40); }
.lp-pager .page-numbers, .lp-pager a { width: 40px; height: 40px; margin: 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--wp--preset--color--peach); color: var(--wp--preset--color--text-gray); font-family: var(--wp--preset--font-family--eng); font-weight: 500; text-decoration: none; }
.lp-pager .page-numbers.current { background: var(--lp-gold); color: #fff; }
.lp-pager .page-numbers.dots { background: none; }

/* Footer */
.lp-footer { background: var(--lp-navy); color: #fff; padding: var(--wp--preset--spacing--30) 5% 120px !important; font-family: var(--wp--preset--font-family--sans); }
.lp-footer a { color: #fff; text-decoration: none; }
/* フッターのロゴ：紺の上でも見えるよう、白い地にのせる */
.lp-footer__logo { display: block; width: fit-content; margin-inline: auto; padding: 14px 22px; background: #fff; border-radius: 14px; line-height: 0; }
.lp-footer__logo img { height: 40px; width: auto; }
.lp-footer__logo:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lp-footer .wp-block-site-title, .lp-footer .wp-block-site-title a { color: #fff; font-size: 24px; }
.lp-footer__links { list-style: none; padding: 0; margin: 0; }
.lp-footer__links li { font-size: 0.95rem; margin: 15px 0; }
.lp-footer__second { list-style: none; padding: 0; margin: var(--wp--preset--spacing--30) 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 30px; }
.lp-footer__second li { font-size: 0.8rem; }
.lp-footer .lp-copy { text-align: center; font-size: 0.8rem; margin-top: var(--wp--preset--spacing--20); }

/* Floating CTA */
.lp-floating { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; justify-content: center; gap: 10px !important; padding: 0 0 10px; margin: 0 !important; pointer-events: none; }
.lp-floating .wp-block-button { pointer-events: auto; }
.lp-floating .wp-block-button__link { position: relative; }
.lp-floating .wp-block-button__link::after { content: "»"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 17.5px; height: 17.5px; border-radius: 50%; background: var(--lp-green); color: #fff; font-size: 12px; line-height: 17px; text-align: center; }
.lp-floating .lp-btn--lesson .wp-block-button__link { background: var(--lp-green); }
.lp-floating .lp-btn--lesson .wp-block-button__link::after { background: var(--lp-orange); }
@media (max-width: 599px) { .lp-floating .wp-block-button__link { font-size: 16px; padding: 12px 34px 12px 14px; } }
.editor-styles-wrapper .lp-floating { position: static; pointer-events: auto; }

/* ===== Instructor landing page ===== */
.page-template-page-lp .lp-floating { display: none; }
.lp-btn-accessible .wp-block-button__link { background: var(--lp-action); border: 0; font-size: clamp(20px, 2.4vw, 24px); padding: 18px 44px; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2); }
.lp-btn-accessible .wp-block-button__link:hover { background: var(--lp-action-hover); }

.lp-ins-hero {
	background-color: var(--lp-yellow);
	background-image: radial-gradient(var(--lp-yellow-light) 6px, transparent 6.5px);
	background-size: 30px 30px;
	padding-block: var(--wp--preset--spacing--70);
	text-align: center;
}
.lp-ins-hero .lp-ins-hero__eyebrow { display: inline-block; background: var(--lp-navy); color: #fff; font-family: var(--lp-heading-font); font-weight: 700; font-size: 15px; padding: 4px 16px; margin-inline: auto !important; width: fit-content; }
.lp-ins-hero .lp-ins-hero__title { font-family: var(--lp-heading-font); font-size: clamp(40px, 7vw, 72px); line-height: 1.25; color: var(--lp-navy); margin: var(--wp--preset--spacing--20) 0 0; text-shadow: 3px 3px 0 #fff; }
.lp-ins-hero .lp-ins-hero__lead { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(16px, 2vw, 20px); color: var(--wp--preset--color--text-black); }
.lp-ins-hero__points { list-style: none; padding: 0; margin: var(--wp--preset--spacing--20) auto var(--wp--preset--spacing--30) !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-ins-hero__points li { background: #fff; border-radius: var(--wp--custom--radius--pill); padding: 8px 20px; font-family: var(--lp-heading-font); font-size: 16px; color: var(--lp-heading); }
.lp-ins-hero__points strong { color: var(--lp-action-text); font-size: 1.15em; }

.lp-wishes { padding-block: var(--wp--preset--spacing--70); }
.lp-wish-list { list-style: none; padding: 0; margin: var(--wp--preset--spacing--30) auto 0; max-width: 720px; display: grid; gap: var(--wp--preset--spacing--15); }
.lp-wish-list li { position: relative; padding: 15px 20px 15px 52px; border: 3px solid var(--wp--preset--color--flow-border); border-radius: var(--wp--custom--radius--pill); font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(16px, 2vw, 20px); color: var(--lp-heading); }
.lp-wish-list li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 18px; height: 10px; border-left: 4px solid var(--lp-green); border-bottom: 4px solid var(--lp-green); transform: translateY(-70%) rotate(-45deg); }
.lp-wishes .lp-wish-answer { text-align: center; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); color: var(--lp-green); margin-top: var(--wp--preset--spacing--30); }

.lp-benefit-grid { gap: var(--wp--preset--spacing--20) !important; margin-top: var(--wp--preset--spacing--40) !important; counter-reset: benefit; }
.lp-benefit { background: #fff; padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--25); border-top: 6px solid var(--lp-yellow); }
.lp-benefit .lp-benefit__title { font-size: 20px; color: #000; margin: 0 0 var(--wp--preset--spacing--10); }
.lp-benefit p { margin: 0; font-size: 15px; }

.lp-who { padding-block: var(--wp--preset--spacing--70); }
.lp-who-list { list-style: none; padding: 0; margin: var(--wp--preset--spacing--30) auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--wp--preset--spacing--15); }
.lp-who-list li { background: var(--wp--preset--color--surface-sky); border: 1px solid var(--wp--preset--color--border-color); padding: var(--wp--preset--spacing--20); }
.lp-who-list strong { display: block; font-family: var(--lp-heading-font); font-size: 20px; color: var(--lp-navy); }
.lp-who-list span { display: block; font-size: 13.5px; color: var(--wp--preset--color--text-gray); margin-top: 4px; }

.lp-steps-sec { padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--70); }
.lp-ins-steps { list-style: none; padding: 0; margin: var(--wp--preset--spacing--30) auto 0; max-width: 1000px; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--wp--preset--spacing--20); }
.lp-ins-steps li { counter-increment: step; text-align: center; padding: var(--wp--preset--spacing--25) var(--wp--preset--spacing--20); border: 3px solid var(--wp--preset--color--flow-border); }
.lp-ins-steps li::before { content: "STEP " counter(step); display: block; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; color: var(--lp-gold); }
.lp-ins-steps strong { display: block; font-family: var(--lp-heading-font); font-size: 20px; color: var(--lp-heading); margin-top: 6px; }
.lp-ins-steps span { display: block; font-size: 13.5px; color: var(--wp--preset--color--text-gray); margin-top: 6px; }

.lp-register { scroll-margin-top: var(--lp-header-h); }
.lp-register__panel { max-width: 760px !important; margin-inline: auto !important; }
.lp-register .lp-register__eyebrow { text-align: center; font-family: var(--wp--preset--font-family--eng); font-weight: 700; color: var(--lp-green); margin: 0; }
.lp-register .lp-register__lead { text-align: center; font-size: 14px; color: var(--wp--preset--color--text-gray); }

/* Form */
.lp-form { display: grid; gap: var(--wp--preset--spacing--25); margin-top: var(--wp--preset--spacing--30); }
.lp-field { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 6px; }
.lp-field__label { font-family: var(--wp--preset--font-family--sans); font-weight: 700; font-size: 15px; color: var(--wp--preset--color--text-black); padding: 0; display: flex; align-items: center; gap: 8px; }
.lp-req { background: var(--lp-action-text); color: #fff; font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: var(--wp--custom--radius--tag); }
.lp-field__hint, .lp-field__hint-inline { margin: 0; font-size: 12.8px; color: var(--wp--preset--color--text-gray); font-weight: 400; }
.lp-field__row, .lp-field__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wp--preset--spacing--15); align-items: start; }
.lp-form input[type="text"], .lp-form input[type="email"], .lp-form input[type="tel"], .lp-form input[type="password"], .lp-form select {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 14px;
	border: 1px solid var(--wp--preset--color--rule-gray); border-radius: var(--wp--custom--radius--card); background: #fff; color: var(--wp--preset--color--text-black);
}
.lp-form input:focus-visible, .lp-form select:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 1px; }
.lp-form [aria-invalid="true"] { border-color: #c62828; background: #fff6f6; }
.lp-field__error { margin: 0; color: #c62828; font-size: 13.5px; font-weight: 700; }
.lp-form-alert { background: #fff6f6; border: 2px solid #c62828; color: #c62828; padding: 12px 16px; font-weight: 700; }
.lp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-choice { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--wp--preset--color--border-color); border-radius: var(--wp--custom--radius--pill); cursor: pointer; font-size: 14px; background: #fff; }
.lp-choice:has(input:checked) { border-color: var(--lp-green); background: #eef8f1; }
.lp-choice input { accent-color: var(--lp-green); width: 18px; height: 18px; margin: 0; }
.lp-choice--agree { border: 0; padding: 0; background: none !important; }
.lp-form__submit { justify-self: center; width: min(100%, 420px); font-family: var(--lp-heading-font); font-weight: 700; font-size: 20px; color: #fff; background: var(--lp-action); border: 0; padding: 18px 24px; cursor: pointer; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2); }
.lp-form__submit:hover { background: var(--lp-action-hover); }
.lp-form__submit:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 3px; }
.lp-form__note { text-align: center; margin: 0; font-size: 12.8px; color: var(--wp--preset--color--text-gray); }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-form-done { border: 3px solid var(--lp-green); background: #eef8f1; padding: var(--wp--preset--spacing--25); margin-top: var(--wp--preset--spacing--30); }
.lp-form-done__title { font-family: var(--lp-heading-font); font-weight: 700; font-size: 20px; color: var(--lp-heading); margin: 0 0 8px; }
@media (max-width: 599px) { .lp-field__row, .lp-field__grid { grid-template-columns: 1fr; } }

/* ===== Business newsletter page ===== */
.lp-muted { color: var(--wp--preset--color--text-gray); font-size: 14px; }
.lp-biz-hero .lp-biz-hero__title { word-break: auto-phrase; text-wrap: balance; font-family: var(--lp-heading-font); font-size: clamp(22px, 6.2vw, 46px); line-height: 1.45; color: var(--lp-navy); margin: var(--wp--preset--spacing--20) 0 0; text-shadow: 3px 3px 0 #fff; }

.lp-persona-grid { gap: var(--wp--preset--spacing--20) !important; margin-top: var(--wp--preset--spacing--30) !important; max-width: 1000px; margin-inline: auto !important; }
.lp-persona { border: 3px solid var(--wp--preset--color--flow-border); padding: var(--wp--preset--spacing--25) var(--wp--preset--spacing--20); background: #fff; }
.lp-persona .lp-persona__title { font-size: 18px; color: var(--lp-navy); margin: 0 0 var(--wp--preset--spacing--10); }
.lp-persona p { margin: 0; font-size: 15px; }

.lp-services { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-service { background: #fff; border: 1px solid var(--wp--preset--color--border-color); padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--25); }
.lp-service--main { border: 3px solid var(--lp-yellow); margin-top: var(--wp--preset--spacing--30); }
.lp-service .lp-service__num { margin: 0; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--lp-gold); }
.lp-service .lp-service__title { margin: 4px 0 var(--wp--preset--spacing--10); font-size: 22px; color: #000; }
.lp-service p { margin: 0; }
.lp-service-grid { gap: var(--wp--preset--spacing--20) !important; margin-top: var(--wp--preset--spacing--20) !important; }
.lp-plan-grid { gap: var(--wp--preset--spacing--15) !important; margin-top: var(--wp--preset--spacing--20) !important; }
.lp-plan { background: var(--wp--preset--color--surface-sky); border: 1px solid var(--wp--preset--color--border-color); padding: var(--wp--preset--spacing--20); }
.lp-plan .lp-plan__fit { display: inline-block; width: fit-content; margin: 0; background: var(--wp--preset--color--tag-blue-bg); color: var(--wp--preset--color--tag-blue); font-size: 12.8px; padding: 2px 8px; border-radius: var(--wp--custom--radius--tag); }
.lp-plan .lp-plan__title { font-size: 20px; color: var(--lp-heading); margin: var(--wp--preset--spacing--10) 0 6px; }
.lp-plan p:not(.lp-plan__fit) { font-size: 14px; }
.lp-lp-main .lp-form .lp-opt, .lp-opt { background: var(--wp--preset--color--button-gray); color: var(--wp--preset--color--text-gray); font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: var(--wp--custom--radius--tag); }

/* Article-end CTA (business category) */
.lp-article-cta { margin-top: var(--wp--preset--spacing--70); padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30); background: var(--lp-navy); border-left: 6px solid var(--lp-yellow); color: #fff; }
.lp-article-cta__eyebrow { margin: 0; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lp-yellow); }
.lp-article-cta__title { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(21px, 2.6vw, 26px); line-height: 1.55; color: #fff; margin: 10px 0 12px; }
.lp-article-cta__list { margin: 0 0 var(--wp--preset--spacing--20); padding-left: 1.2em; font-size: 15px; color: #d9e2ea; }
.lp-article-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lp-article-cta__btn { display: inline-block; background: var(--lp-action); color: #fff !important; font-family: var(--lp-heading-font); font-weight: 700; font-size: 19px; padding: 14px 28px; text-decoration: none; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2); }
.lp-article-cta__btn:hover { background: var(--lp-action-hover); }
.lp-article-cta__sub { font-family: var(--lp-heading-font); font-size: 15px; color: #fff !important; text-decoration: underline; }
.lp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: 1000px; margin-inline: auto !important; }
@media (max-width: 599px) { .lp-grid-2 { grid-template-columns: 1fr !important; } }
@media (max-width: 599px) { .lp-btn-accessible .wp-block-button__link { font-size: 19px; padding: 16px 20px; } }

/* ===== Business page v2: change-first ===== */
.lp-kicker { margin: 0; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--lp-gold); }
.lp-section-lead { color: var(--wp--preset--color--text-gray); font-size: 15px; line-height: 2; }
.lp-note { font-size: 12.8px; color: var(--wp--preset--color--text-gray); margin-top: var(--wp--preset--spacing--20) !important; }
.lp-btn-ghost .wp-block-button__link { background: #fff; color: var(--lp-navy); border: 2px solid var(--lp-navy); font-size: clamp(16px, 2vw, 20px); padding: 16px 28px; }
.lp-btn-ghost .wp-block-button__link:hover { background: var(--wp--preset--color--surface-sky); }
.lp-biz-hero .wp-block-buttons { gap: 12px 16px; }

.lp-change { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-scene-grid { gap: var(--wp--preset--spacing--20) !important; margin-top: var(--wp--preset--spacing--40) !important; max-width: 1100px; margin-inline: auto !important; }
.lp-scene { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--10); }
.lp-scene .lp-scene__role { margin: 0; font-family: var(--lp-heading-font); font-weight: 700; font-size: 17px; color: var(--lp-navy); border-bottom: 1px solid var(--lp-navy); padding-bottom: 6px; }
.lp-scene__before, .lp-scene__after { padding: var(--wp--preset--spacing--15) var(--wp--preset--spacing--20); }
.lp-scene__before { background: var(--wp--preset--color--surface-gray); }
.lp-scene__after { background: #eef8f1; border: 2px solid var(--lp-green); flex: 1 1 auto; position: relative; }
.lp-scene__after::before { content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); border: 8px solid transparent; border-top-color: var(--wp--preset--color--rule-gray); border-bottom-width: 0; }
.lp-scene .lp-scene__tag { margin: 0 0 4px; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; color: var(--wp--preset--color--text-gray); }
.lp-scene__after .lp-scene__tag { color: #1f7a3c; }
.lp-scene .lp-scene__text { margin: 0; font-family: var(--lp-heading-font); font-size: 16px; line-height: 1.8; color: var(--wp--preset--color--text-black); }
.lp-scene__after .lp-scene__text { font-weight: 700; }

.lp-future { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
/* 企業文化というゴールへ：マガジンの写真をぼかして、白を重ねてうっすら敷く */
.lp-future.lp-gray { position: relative; isolation: isolate; overflow: hidden; background: transparent; }
.lp-future::before { content: ""; position: absolute; inset: -24px; z-index: -2; background: url("../images/business-goal-bg.jpg") center 35% / cover no-repeat; filter: blur(4px); }
.lp-future::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.8); }
.lp-future-list { list-style: none; padding: 0; margin: var(--wp--preset--spacing--30) auto 0; max-width: 820px; display: grid; gap: var(--wp--preset--spacing--15); }
.lp-future-list li { background: #fff; padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--25) var(--wp--preset--spacing--20) 64px; position: relative; }
.lp-future-list li::before { content: ""; position: absolute; left: 24px; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-yellow); box-shadow: 0 0 0 5px var(--wp--preset--color--peach); }
.lp-future-list strong { display: block; font-family: var(--lp-heading-font); font-size: clamp(17px, 2vw, 20px); color: var(--lp-heading); }
.lp-future-list span { display: block; font-size: 14px; color: var(--wp--preset--color--text-gray); margin-top: 4px; }
.lp-steps-sec .wp-block-buttons { margin-top: var(--wp--preset--spacing--30); }
.lp-article-cta__text { font-size: 15px; line-height: 1.85; color: #d9e2ea; margin: 0 0 var(--wp--preset--spacing--20); }
.lp-article-cta__letter { margin: var(--wp--preset--spacing--20) 0 0; padding-top: var(--wp--preset--spacing--15); border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; color: #d9e2ea; }
.lp-article-cta__letter a { color: #fff; }
.lp-article-cta__note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.7; color: #b8c6d3; word-break: auto-phrase; text-wrap: pretty; }

/* Business hero: photo behind the message */
.lp-ins-hero.lp-biz-hero {
	background-color: var(--lp-navy);
	background-image: linear-gradient(rgba(6, 43, 72, 0.74), rgba(6, 43, 72, 0.6)), url("../images/business-hero.jpg");
	background-size: cover;
	background-position: center 40%;
	min-height: 560px; display: grid; align-content: center;
	padding-block: var(--wp--preset--spacing--100);
}
.lp-biz-hero .lp-ins-hero__eyebrow { background: var(--lp-yellow); color: var(--lp-navy); }
.lp-biz-hero .lp-biz-hero__title { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.lp-biz-hero .lp-ins-hero__lead { color: #fff; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.lp-biz-hero .lp-btn-ghost .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.lp-biz-hero .lp-btn-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.14); }
.lp-nowrap { white-space: nowrap; }
@media (max-width: 599px) { .lp-form__submit { font-size: 19px; padding: 16px 12px; } }

/* Japanese line breaking: break between phrases, not mid-word */
/* Phrase-aware breaks for headlines, leads and short quotes only; card body text fills lines normally. */
.lp-lp-main :is(h1, h2, h3, .lp-ins-hero__lead, .lp-section-lead, .lp-register__lead, .lp-scene__text, .lp-future-list strong),
.lp-article-cta__title { word-break: auto-phrase; }
.lp-lp-main, .lp-article-cta { line-break: strict; }
/* Scene quotes flow at every width so no word is left alone on the last line. */
.lp-scene__text br { display: none; }
.lp-scene .lp-scene__text { text-wrap: pretty; }
.lp-lp-main :is(h1, h2, h3) { text-wrap: balance; }
@media (max-width: 599px) {
	/* Long lead paragraphs: let the text flow instead of forced desktop breaks */
	.lp-ins-hero__lead br, .lp-section-lead br, .lp-register__lead br, .lp-article-cta__title br { display: none; }
	.lp-section-lead, .lp-ins-hero__lead { text-align: left; }
	.lp-lp-main .lp-section-title { font-size: 24px; }
}
@media (max-width: 599px) { .lp-scene__text br, .lp-future-list br { display: none; } }
.lp-lp-main :is(p, li span, .lp-article-cta__text) { word-break: auto-phrase; text-wrap: pretty; }

/* Pre-hearing block inside the newsletter form */
.lp-hearing { border: 0; margin: 0; padding: var(--wp--preset--spacing--25) var(--wp--preset--spacing--20); background: var(--wp--preset--color--surface-sky); border-top: 3px solid var(--lp-yellow); display: grid; gap: var(--wp--preset--spacing--20); min-width: 0; }
.lp-hearing__title { float: left; width: 100%; padding: 0; font-family: var(--lp-heading-font); font-weight: 700; font-size: 18px; color: var(--lp-navy); display: flex; align-items: center; gap: 8px; }
.lp-hearing__title + * { clear: both; }
.lp-hearing .lp-hearing__lead { margin: 0; font-size: 14px; color: var(--wp--preset--color--text-gray); }
.lp-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.7; padding: 12px 14px; border: 1px solid var(--wp--preset--color--rule-gray); border-radius: var(--wp--custom--radius--card); background: #fff; color: var(--wp--preset--color--text-black); resize: vertical; }
.lp-form textarea:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 1px; }
@media (max-width: 599px) { .lp-hearing { padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--15); } }
.lp-lp-main .lp-hearing .lp-hearing__lead { word-break: normal; text-wrap: wrap; }
@media (max-width: 599px) {
	.lp-form .lp-choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
	.lp-form .lp-choice:not(.lp-choice--agree) { border-radius: 8px; padding: 10px 14px; }
}
.lp-form .lp-choice span { word-break: auto-phrase; }

/* ===== Business page: comic panels (BEFORE/AFTER scenes and flow) ===== */
/* Rows line up across the three scene cards: role / BEFORE / AFTER */
.lp-scene-grid > .lp-scene { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: var(--wp--preset--spacing--10); }
.lp-comic { position: relative; container-type: inline-size; margin: 6px 0 12px !important; border: 3px solid var(--lp-navy); background: #fff; overflow: hidden; }
.lp-comic .lp-comic__art { margin: 0 !important; }
.lp-comic .lp-comic__art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.lp-lp-main .lp-comic .lp-comic__bubble {
	position: absolute; top: 5%; margin: 0; max-width: 56%;
	padding: 0.55em 0.95em; background: #fff; border: 2.5px solid var(--lp-navy); border-radius: 1.6em;
	font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(12.5px, 4.5cqi, 16px); line-height: 1.5; color: var(--wp--preset--color--text-black);
	word-break: auto-phrase; text-wrap: balance; line-break: strict;
}
.lp-comic .lp-comic__bubble--left { left: 4%; }
.lp-comic .lp-comic__bubble--right { right: 4%; }
/* Speech tail */
.lp-comic .lp-comic__bubble:not(.lp-comic__bubble--think)::before,
.lp-comic .lp-comic__bubble:not(.lp-comic__bubble--think)::after { content: ""; position: absolute; border-style: solid; border-color: transparent; }
.lp-comic .lp-comic__bubble:not(.lp-comic__bubble--think)::before { bottom: -15px; border-width: 15px 8px 0; border-top-color: var(--lp-navy); }
.lp-comic .lp-comic__bubble:not(.lp-comic__bubble--think)::after { bottom: -10px; border-width: 11px 5.5px 0; border-top-color: #fff; }
.lp-comic .lp-comic__bubble--left:not(.lp-comic__bubble--think)::before { left: 22px; }
.lp-comic .lp-comic__bubble--left:not(.lp-comic__bubble--think)::after { left: 24.5px; }
.lp-comic .lp-comic__bubble--right:not(.lp-comic__bubble--think)::before { right: 26px; }
.lp-comic .lp-comic__bubble--right:not(.lp-comic__bubble--think)::after { right: 28.5px; }
/* Thought bubble: dashed outline and trailing circles */
.lp-comic .lp-comic__bubble--think { border-style: dashed; }
.lp-comic .lp-comic__bubble--think::before,
.lp-comic .lp-comic__bubble--think::after { content: ""; position: absolute; border: 2px solid var(--lp-navy); border-radius: 50%; background: #fff; }
.lp-comic .lp-comic__bubble--think::before { width: 11px; height: 11px; bottom: -17px; }
.lp-comic .lp-comic__bubble--think::after { width: 7px; height: 7px; bottom: -28px; }
.lp-comic .lp-comic__bubble--think.lp-comic__bubble--left::before { left: 26px; }
.lp-comic .lp-comic__bubble--think.lp-comic__bubble--left::after { left: 20px; }
.lp-comic .lp-comic__bubble--think.lp-comic__bubble--right::before { right: 30px; }
.lp-comic .lp-comic__bubble--think.lp-comic__bubble--right::after { right: 24px; }
/* Narration box */
.lp-lp-main .lp-comic .lp-comic__note {
	position: absolute; top: 0; left: 0; margin: 0; max-width: 64%;
	padding: 0.35em 0.8em; background: var(--lp-yellow); border-right: 2.5px solid var(--lp-navy); border-bottom: 2.5px solid var(--lp-navy);
	font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(12px, 4cqi, 14px); line-height: 1.5; color: var(--lp-navy);
	word-break: auto-phrase; text-wrap: balance;
}
.lp-lp-main .lp-comic .lp-comic__note--wide { max-width: 72%; }

/* Flow as a three-panel comic */
.lp-comic-steps { counter-reset: step; gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20) !important; max-width: 1000px; margin: var(--wp--preset--spacing--30) auto 0 !important; }
.lp-comic-step { counter-increment: step; display: flex; flex-direction: column; }
.lp-comic-step > * { margin-block: 0 !important; }
.lp-comic-step .lp-comic { margin: 0 0 var(--wp--preset--spacing--15) !important; }
.lp-comic-step .lp-comic-step__title { font-family: var(--lp-heading-font); font-weight: 700; font-size: 20px; line-height: 1.5; color: var(--lp-heading); text-align: center; }
.lp-comic-step .lp-comic-step__title::before { content: "STEP " counter(step); display: block; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; color: var(--lp-gold); }
.lp-comic-step .lp-comic-step__text { margin-top: 6px !important; font-size: 14px; line-height: 1.8; color: var(--wp--preset--color--text-gray); }
@media (max-width: 599px) {
	.lp-comic-steps { gap: var(--wp--preset--spacing--40) !important; }
}
/* When a narration box sits in the top-left, drop the bubble below it so neither is hidden. */
.lp-comic .lp-comic__note + .lp-comic__bubble { top: 23%; }
.lp-comic-step .lp-comic-step__title { text-align: left; }

/* Key message: employees wanting to join */
.lp-message { margin: var(--wp--preset--spacing--40) auto 0; max-width: 760px; padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--25); background: #fff; border-top: 4px solid var(--lp-green); border-bottom: 4px solid var(--lp-green); text-align: center; }
.lp-message p { margin: 0; }
.lp-message .lp-message__title { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.6; color: var(--lp-navy); word-break: auto-phrase; text-wrap: balance; }
.lp-message .lp-message__text { margin-top: var(--wp--preset--spacing--10); color: var(--wp--preset--color--text-gray); font-size: 15px; line-height: 2; }
@media (max-width: 599px) {
	.lp-message .lp-message__text { text-align: left; }
	.lp-message .lp-message__text br { display: none; }
}

/* ===== Instructor page v2: wish & benefits ===== */
.lp-ins-hero .lp-ins-hero__title, .lp-ins-message__title, .lp-ins-voices .lp-section-title, .lp-benefit__title { word-break: auto-phrase; text-wrap: balance; }
.lp-ins-hero .lp-ins-hero__title { font-size: clamp(42px, 7vw, 72px); }
.lp-ins-hero__lead, .lp-ins-message p, .lp-ins-voices__summary, .lp-register__lead { word-break: auto-phrase; text-wrap: pretty; }

.lp-ins-message { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
/* 背景にうっすら空のイラスト（白を重ねて文字を読みやすく） */
.lp-ins-message { background: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)), url("../images/instructor-message-bg.jpg") center / cover no-repeat; margin-block: 0 !important; }
.lp-ins-message + * { margin-block-start: 0 !important; }
/* 声のセクション：マガジンの写真をぼかして、白を重ねてうっすら敷く */
.lp-ins-voices.lp-gray { position: relative; isolation: isolate; overflow: hidden; background: transparent; }
.lp-ins-voices::before { content: ""; position: absolute; inset: -24px; z-index: -2; background: url("../images/instructor-voices-bg.jpg") center / cover no-repeat; filter: blur(4px); }
.lp-ins-voices::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.8); }
/* 登録の流れのセクション：羽ばたく鳥のイラストを、白を重ねてうっすら敷く */
.lp-ins-steps-sec.lp-gray { background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)), url("../images/instructor-steps-bg.jpg") center / cover no-repeat; }
.lp-ins-steps-sec .lp-ins-steps li { background: rgba(255, 255, 255, 0.88); }
/* 登録フォーム：羽ばたく空から続く、朝の光のグラデーション */
.lp-register.lp-ins-register { background: linear-gradient(180deg, #eaf4fc 0%, #f6f9f4 45%, #fff6e2 100%); }
.lp-ins-message p { font-size: 16px; line-height: 2.1; }
.lp-ins-message .lp-ins-message__em { margin-block: var(--wp--preset--spacing--30) !important; padding: var(--wp--preset--spacing--20); border-left: 6px solid var(--lp-yellow); background: #fffbee; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.8; color: var(--lp-navy); }

.lp-stat-grid { gap: var(--wp--preset--spacing--20) !important; margin-top: var(--wp--preset--spacing--30) !important; }
.lp-stat { background: #fff; padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20); text-align: center; display: flex; flex-direction: column; gap: 8px; }
.lp-stat > * { margin: 0 !important; }
.lp-stat .lp-stat__num { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.3; color: var(--lp-action-text); }
.lp-stat .lp-stat__num small { font-size: 0.5em; margin-left: 2px; }
.lp-stat .lp-stat__text { font-family: var(--lp-heading-font); font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--lp-heading); word-break: auto-phrase; text-wrap: balance; flex: 1 1 auto; }
.lp-stat .lp-stat__src { font-size: 12px; color: var(--wp--preset--color--text-gray); }
.lp-ins-voices .lp-ins-voices__summary { max-width: 720px; margin: var(--wp--preset--spacing--40) auto 0 !important; text-align: center; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(16px, 2vw, 19px); line-height: 1.9; color: var(--lp-heading); }

.lp-benefits { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-ins-example { margin-top: var(--wp--preset--spacing--70) !important; }
.lp-ins-example .lp-ins-example__title { text-align: center; font-size: 20px; color: var(--lp-navy); margin-bottom: var(--wp--preset--spacing--20); }
.lp-ins-example .lp-scene__after { margin-top: 20px; }

.lp-register { margin-top: 0 !important; background: #eef8f1; padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-register .lp-section-title small { font-size: 0.6em; }
@media (max-width: 599px) {
	.lp-ins-message p { font-size: 15px; }
	.lp-ins-hero__lead br, .lp-register__lead br { display: none; }
	.lp-ins-voices .lp-ins-voices__summary { text-align: left; }
}
.lp-ins-hero .lp-ins-hero__sub { margin-top: var(--wp--preset--spacing--15); font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 3.2vw, 32px); line-height: 1.5; color: var(--lp-navy); word-break: auto-phrase; text-wrap: balance; }
.lp-ins-goods { list-style: none; padding: 0; margin: var(--wp--preset--spacing--20) auto !important; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-ins-goods li { background: #eef8f1; border: 2px solid var(--lp-green); border-radius: var(--wp--custom--radius--pill); padding: 6px 16px; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; color: #1f7a3c; }
.lp-ins-steps--4 { max-width: 1100px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lp-ins-voices .lp-need-title { margin: var(--wp--preset--spacing--50) 0 0 !important; text-align: center; font-family: var(--lp-heading-font); font-size: clamp(18px, 2.2vw, 22px); color: var(--lp-navy); word-break: auto-phrase; text-wrap: balance; }
.lp-ins-voices .lp-stat-grid, .lp-need-grid { gap: var(--wp--preset--spacing--20) !important; margin-top: var(--wp--preset--spacing--20) !important; }
.lp-need-grid--single { max-width: 480px; margin-inline: auto !important; grid-template-columns: 1fr !important; }
.lp-need-card { background: #fff; padding: var(--wp--preset--spacing--25) var(--wp--preset--spacing--20); display: flex; flex-direction: column; gap: 10px; }
.lp-need-card > * { margin: 0 !important; }
.lp-need-card .lp-need-card__title { font-family: var(--lp-heading-font); font-weight: 700; font-size: 17px; color: var(--lp-action-text); border-bottom: 2px solid #eef8f1; padding-bottom: 6px; }
.lp-need-list { list-style: none; padding: 0; counter-reset: rank; display: grid; gap: 8px; flex: 1 1 auto; }
.lp-need-list li { counter-increment: rank; position: relative; padding-left: 34px; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; line-height: 1.6; color: var(--lp-heading); word-break: auto-phrase; }
.lp-need-list li::before { content: counter(rank); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-yellow); color: var(--lp-navy); font-family: var(--wp--preset--font-family--eng); font-size: 13px; line-height: 24px; text-align: center; }
.lp-need-list--plain li::before { content: ""; width: 10px; height: 10px; top: 9px; left: 8px; background: var(--lp-green); }
.lp-ins-voices .lp-ins-voices__answer { max-width: 720px; margin: var(--wp--preset--spacing--20) auto 0 !important; padding: var(--wp--preset--spacing--20); background: #eef8f1; border: 2px solid var(--lp-green); text-align: center; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; line-height: 1.9; color: var(--lp-heading); word-break: auto-phrase; text-wrap: pretty; }
@media (max-width: 599px) { .lp-ins-voices .lp-ins-voices__answer { text-align: left; } .lp-ins-voices__answer br { display: none; } }
.lp-ins-story { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--30); }
.lp-ins-story .lp-comic-step .lp-comic-step__title::before { content: "0" counter(step); }
.lp-ins-story + .lp-benefits { padding-top: var(--wp--preset--spacing--70); }
/* Instructor hero: photo behind the message (same treatment as the business page) */
.lp-ins-hero.lp-ins-hero--photo {
	background-color: var(--lp-navy);
	background-image: linear-gradient(rgba(6, 43, 72, 0.72), rgba(6, 43, 72, 0.6)), url("../images/instructor/hero-teaching.webp");
	background-size: cover;
	background-position: center 40%;
	min-height: 600px; display: grid; align-content: center;
	padding-block: var(--wp--preset--spacing--100);
}
.lp-ins-hero--photo .lp-ins-hero__eyebrow { background: var(--lp-yellow); color: var(--lp-navy); }
.lp-ins-hero--photo .lp-ins-hero__title, .lp-ins-hero--photo .lp-ins-hero__sub { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.lp-ins-hero--photo .lp-ins-hero__lead { color: #fff; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }

/* Force a sentence onto its own line at every width */
.lp-line { display: block; }

/* ===== Top page (for students): photo hero, BEFORE/AFTER, message, compact genres, comic flow ===== */
.lp-ins-hero.lp-top-hero {
	background-color: var(--lp-navy);
	background-image: linear-gradient(rgba(6, 43, 72, 0.74), rgba(6, 43, 72, 0.62)), url("../images/top-hero.jpg");
	background-size: cover;
	background-position: center 40%;
	min-height: 600px; display: grid; align-content: center;
	padding-block: var(--wp--preset--spacing--100);
}
.lp-top-hero .lp-ins-hero__eyebrow { background: var(--lp-yellow); color: var(--lp-navy); }
.lp-top-hero .lp-top-hero__title { font-family: var(--lp-heading-font); font-size: clamp(34px, 6.2vw, 60px); line-height: 1.4; color: #fff; margin: var(--wp--preset--spacing--20) 0 0; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.lp-top-hero .lp-ins-hero__lead { color: #fff; font-weight: 500; line-height: 1.9; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }

.lp-top-worry .lp-section-lead { margin-top: var(--wp--preset--spacing--10); }
.lp-top-worry .lp-scene .lp-scene__role { font-size: clamp(16px, 1.6vw, 17px); word-break: auto-phrase; text-wrap: balance; }
.lp-top-worry .lp-scene__after .lp-scene__text { font-size: 15px; }

.lp-top-message { padding-block: 0 var(--wp--preset--spacing--100); }
.lp-top-message .lp-message { margin-top: var(--wp--preset--spacing--15); }
.lp-top-message .lp-message .lp-message__title { margin: 0; }

.lp-top-features .lp-benefit-grid { margin-top: var(--wp--preset--spacing--30) !important; }
.lp-top-features .lp-benefit .lp-benefit__title { word-break: auto-phrase; text-wrap: balance; }

.lp-top-genres { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-genre-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--15) !important; margin-top: var(--wp--preset--spacing--30) !important; }
.lp-genre-mini { display: flex; flex-direction: column; gap: 8px; }
.lp-genre-mini > * { margin: 0 !important; }
.lp-genre-mini .lp-genre-mini__img { aspect-ratio: 670 / 320; overflow: hidden; background: var(--wp--preset--color--surface-gray); }
.lp-genre-mini .lp-genre-mini__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-genre-mini .lp-genre-mini__name { font-family: var(--lp-heading-font); font-size: 16px; line-height: 1.5; text-align: center; color: var(--lp-heading); }
@media (max-width: 767px) { .lp-genre-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 599px) { .lp-genre-mini .lp-genre-mini__name { font-size: 15px; } }

.lp-top-flow { background: var(--wp--preset--color--surface-gray); padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }

.lp-top-cta {
	background-color: var(--lp-yellow);
	background-image: radial-gradient(var(--lp-yellow-light) 6px, transparent 6.5px);
	background-size: 30px 30px;
	padding-block: var(--wp--preset--spacing--70);
}
.lp-top-cta .lp-top-cta__panel { max-width: 760px !important; margin-inline: auto !important; }
.lp-top-cta .wp-block-buttons { margin-top: var(--wp--preset--spacing--25); }
.lp-top-cta .lp-top-cta__others { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: var(--wp--preset--spacing--30) 0 0; padding-top: var(--wp--preset--spacing--20); border-top: 1px solid var(--wp--preset--color--border-color); font-family: var(--lp-heading-font); font-size: 15px; }
.lp-top-cta__others a { color: var(--lp-heading); text-decoration: underline; }
@media (max-width: 599px) {
	.lp-top-hero .lp-ins-hero__lead { text-align: center; }
	.lp-top-cta .lp-section-lead, .lp-top-worry .lp-section-lead, .lp-top-genres .lp-section-lead { text-align: center; }
	.lp-top-cta .lp-panel { padding-inline: var(--wp--preset--spacing--20); }
}

/* Floating CTA: sign-up in LinoPod green, lesson search as an outlined button */
.lp-floating .lp-btn--register .wp-block-button__link { background: var(--lp-action); }
.lp-floating .lp-btn--register .wp-block-button__link:hover { background: var(--lp-action-hover); }
.lp-floating .lp-btn--register .wp-block-button__link::after { background: #fff; color: var(--lp-action-text); }
.lp-floating .lp-btn--lesson .wp-block-button__link { background: #fff; color: var(--lp-navy); border-color: var(--lp-navy); }
.lp-floating .lp-btn--lesson .wp-block-button__link:hover { background: var(--wp--preset--color--surface-sky); }
.lp-floating .lp-btn--lesson .wp-block-button__link::after { background: var(--lp-navy); color: #fff; }
.lp-floating .wp-block-button__link { font-size: 19px; }
@media (max-width: 599px) { .lp-floating .wp-block-button__link { font-size: 19px; padding: 12px 30px 12px 10px; } }

/* ===== Top page v2: brand card for businesses and instructors ===== */
.home .lp-floating { display: none; }
.lp-brand-hero.lp-ins-hero.lp-top-hero { min-height: 640px; }
.lp-brand-hero .lp-brand-hero__title { margin-top: 0; }
/* Narrow phones: "体を動かす楽しさで、" stays on one line without spilling past the screen */
@media (max-width: 420px) { .lp-top-hero .lp-top-hero__title { font-size: 8vw; } }
.lp-brand-hero .lp-ins-hero__lead { max-width: 760px; margin-inline: auto !important; }

/* Entrances: two large cards and one small link */
.lp-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--20); max-width: 820px; margin: var(--wp--preset--spacing--40) auto 0 !important; }
.lp-entry-grid > * { margin: 0 !important; }
.lp-entry a { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: var(--wp--preset--spacing--25) var(--wp--preset--spacing--25) var(--wp--preset--spacing--20); background: #fff; border-top: 6px solid var(--lp-yellow); text-align: left; text-decoration: none; color: var(--wp--preset--color--text-black); }
.lp-entry a:hover { background: var(--wp--preset--color--surface-sky); }
.lp-entry a:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 3px; }
.lp-entry .lp-entry__who { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; color: var(--lp-navy); }
.lp-entry .lp-entry__text { font-size: 15px; line-height: 1.8; word-break: auto-phrase; text-wrap: pretty; }
.lp-entry .lp-entry__go { margin-top: auto; padding-top: 6px; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; color: var(--lp-action-text); }
.lp-entry-sub { text-align: center; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; }
.lp-entry-sub a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.lp-entry-sub a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 599px) { .lp-entry-grid { grid-template-columns: 1fr; } }

/* Small label chip (navy) */
.lp-lp-main .lp-chip { display: block; width: fit-content; margin: 0 0 var(--wp--preset--spacing--10); background: var(--lp-navy); color: #fff; font-family: var(--lp-heading-font); font-weight: 700; font-size: 15px; line-height: 1.6; padding: 3px 14px; }
.lp-lp-main .lp-chip--center { margin-inline: auto; }

/* Connection */
.lp-connect { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-connect__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: var(--wp--preset--spacing--15); margin-top: var(--wp--preset--spacing--40) !important; }
.lp-connect__pair > * { margin: 0 !important; }
.lp-connect__card { border: 3px solid var(--wp--preset--color--flow-border); padding: var(--wp--preset--spacing--25) var(--wp--preset--spacing--25); }
.lp-connect__card > * { margin: 0 !important; }
.lp-connect .lp-connect__label { font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--lp-gold); }
.lp-connect .lp-connect__title { margin-top: 4px !important; font-size: 20px; line-height: 1.5; color: var(--lp-navy); }
.lp-connect__card p:not(.lp-connect__label) { margin-top: 8px !important; font-size: 15px; line-height: 1.8; }
.lp-connect .lp-connect__x { align-self: center; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 32px; line-height: 1; color: var(--lp-gold); }
.lp-connect .lp-connect__plus { margin: var(--wp--preset--spacing--30) auto 0 !important; max-width: 760px; padding: var(--wp--preset--spacing--15) var(--wp--preset--spacing--20); background: #fffbee; border-top: 3px solid var(--lp-yellow); text-align: center; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(16px, 2vw, 19px); line-height: 1.8; color: var(--lp-navy); }
@media (max-width: 767px) {
	.lp-connect__pair { grid-template-columns: 1fr; }
	.lp-connect .lp-connect__x { justify-self: center; font-size: 26px; }
}

/* For businesses */
/* 企業・団体の方へ：グレーの代わりに、空と木の葉の写真をうっすら敷く */
.lp-top-biz.lp-gray { background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url("../images/top-business-sky.jpg") center / cover no-repeat; }
.lp-top-biz .lp-top-biz__panel { padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40); }
.lp-top-biz .lp-section-title { margin-top: 0; }
.lp-top-biz .lp-section-lead { max-width: 820px; }
.lp-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: var(--wp--preset--spacing--25) 0 0 !important; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; }
.lp-formula .lp-formula__item { background: var(--wp--preset--color--surface-sky); border: 1px solid var(--wp--preset--color--border-color); padding: 6px 14px; color: var(--lp-navy); white-space: nowrap; }
.lp-formula .lp-formula__item--you { background: #eef8f1; border: 2px solid var(--lp-green); color: #1f7a3c; }
.lp-formula .lp-formula__op { font-family: var(--wp--preset--font-family--eng); font-size: 20px; color: var(--lp-gold); }
.lp-offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--15); margin-top: var(--wp--preset--spacing--25) !important; }
.lp-offer-grid > * { margin: 0 !important; }
.lp-offer { border: 1px solid var(--wp--preset--color--border-color); border-top: 4px solid var(--lp-yellow); padding: var(--wp--preset--spacing--20); }
.lp-offer > * { margin: 0 !important; }
.lp-offer .lp-offer__title { font-size: 18px; line-height: 1.5; color: #000; }
.lp-offer p { margin-top: 6px !important; font-size: 15px; line-height: 1.8; }
.lp-top-biz__sub { margin-top: var(--wp--preset--spacing--30) !important; padding-top: var(--wp--preset--spacing--25); border-top: 1px solid var(--wp--preset--color--rule-gray); }
.lp-top-biz__sub > * { margin: 0 !important; }
.lp-top-biz .lp-top-biz__subtitle { font-size: 18px; color: var(--lp-heading); }
.lp-top-biz__sub p { margin-top: 6px !important; font-size: 15px; line-height: 1.8; }
.lp-top-biz .wp-block-buttons { margin-top: var(--wp--preset--spacing--30); }
@media (max-width: 767px) { .lp-offer-grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
	.lp-top-biz .lp-top-biz__panel { padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20); }
	.lp-formula { font-size: 14px; gap: 6px 8px; }
	.lp-formula .lp-formula__item { padding: 5px 10px; }
}

/* For instructors */
.lp-top-ins { padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--70); }
.lp-top-ins__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--wp--preset--spacing--40); align-items: center; }
.lp-top-ins__grid > * { margin: 0 !important; }
.lp-top-ins .lp-top-ins__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--surface-gray); }
.lp-top-ins .lp-top-ins__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-top-ins__body > * { margin-block: 0 !important; }
.lp-top-ins .lp-section-title { margin-bottom: var(--wp--preset--spacing--15) !important; }
.lp-top-ins__body p:not(.lp-chip) { margin-top: var(--wp--preset--spacing--10) !important; font-size: 15px; line-height: 1.9; }
.lp-top-ins .wp-block-buttons { margin-top: var(--wp--preset--spacing--25) !important; }
@media (max-width: 767px) { .lp-top-ins__grid { grid-template-columns: 1fr; gap: var(--wp--preset--spacing--25); } }

/* For students (comic BEFORE / AFTER) */
.lp-top-start { background: var(--wp--preset--color--surface-gray); }
.lp-top-start .lp-scene__before { background: #fff; }
.lp-top-start .lp-section-title { margin-top: 0; }
.lp-top-start .lp-ins-goods { margin-top: var(--wp--preset--spacing--30) !important; }
.lp-top-start .lp-ins-goods li { background: #fff; }
.lp-top-start .wp-block-buttons { margin-top: var(--wp--preset--spacing--25); }

/* Closing: brand line again on the yellow band */
.lp-top-closing {
	background-color: var(--lp-yellow);
	background-image: radial-gradient(var(--lp-yellow-light) 6px, transparent 6.5px);
	background-size: 30px 30px;
	padding-block: var(--wp--preset--spacing--70);
	text-align: center;
}
.lp-top-closing .lp-top-closing__title { margin: 0; font-family: var(--lp-heading-font); font-size: clamp(26px, 4.4vw, 40px); line-height: 1.5; color: var(--lp-navy); text-shadow: 2px 2px 0 #fff; }
.lp-top-closing .lp-top-closing__lead { margin-top: var(--wp--preset--spacing--10); font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; color: var(--wp--preset--color--text-black); }
.lp-top-closing .lp-entry-grid { margin-top: var(--wp--preset--spacing--30) !important; }
.lp-top-closing .lp-entry a { border-top-color: var(--lp-navy); }
.lp-top-closing .lp-entry-sub a { color: var(--lp-navy); }
.lp-top-closing .lp-entry-sub a:focus-visible { outline-color: var(--lp-navy); }
@media (max-width: 599px) {
	.lp-brand-hero.lp-ins-hero.lp-top-hero { min-height: 0; }
	.lp-top-ins .lp-section-title, .lp-top-biz .lp-section-title { font-size: 24px; }
}
/* Top v2 fixes */
.lp-lp-main.lp-top > * + * { margin-top: 0 !important; }
.lp-brand-hero > * { min-width: 0; }
.lp-lp-main .lp-entry-sub { margin-top: var(--wp--preset--spacing--25) !important; margin-bottom: 0 !important; }
.lp-entry .lp-entry__text { text-wrap: balance; }
.lp-lp-main .wp-block-button__link { word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 599px) {
	.lp-connect, .lp-top-ins { padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--70); }
	.lp-top-biz { padding-block: var(--wp--preset--spacing--70) !important; }
	.lp-offer { padding: var(--wp--preset--spacing--15) var(--wp--preset--spacing--20); }
	.lp-lp-main .lp-btn-accessible .wp-block-button__link { padding-inline: 16px; }
}

/* Business page v3: collaboration / PR first, then wellbeing */
.lp-services .lp-service-label { display: flex; align-items: center; gap: 16px; margin: var(--wp--preset--spacing--70) auto 0 !important; font-family: var(--lp-heading-font); font-weight: 700; font-size: 20px; color: var(--lp-navy); }
.lp-services .lp-service-label::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--wp--preset--color--rule-gray); }
.lp-services .lp-section-lead + .lp-service-label { margin-top: var(--wp--preset--spacing--40) !important; }
.lp-services .lp-service-label + .lp-service--main, .lp-services .lp-service-label + .lp-message { margin-top: var(--wp--preset--spacing--20) !important; }
.lp-service .lp-formula { margin-top: var(--wp--preset--spacing--20) !important; }
.lp-services .lp-section-lead + .lp-service-label, .lp-services .lp-service-label + .lp-service--main, .lp-services .lp-service-label + .lp-message { margin-left: auto !important; margin-right: auto !important; }

/* Wish lead: keep one thought per line on phones too */
.lp-connect .lp-section-lead br { display: inline; }
.lp-top-ins .lp-top-ins__photo img { object-position: 45% center; }

/* Closing band: faint photo under a soft LinoPod-green wash */
.lp-top-closing {
	background-color: #eef8f1;
	background-image:
		linear-gradient(rgba(238, 248, 241, 0.88), rgba(238, 248, 241, 0.88)),
		url("../images/business-hero.jpg");
	background-size: cover, cover;
	background-position: center, center 35%;
}
.lp-top-closing .lp-top-closing__title { text-shadow: none; }
.lp-top-closing .lp-entry a { border-top-color: var(--lp-green); box-shadow: 0 2px 10px rgba(6, 43, 72, 0.08); }

/* ===== Top v4: people we want to reach ===== */
.lp-people { padding-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--100); }
.lp-people .lp-section-title { margin-top: 4px; }
.lp-people .lp-section-lead { margin-top: var(--wp--preset--spacing--10); }
.lp-people__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wp--preset--spacing--20); margin-top: var(--wp--preset--spacing--30) !important; }
.lp-people__grid > * { margin: 0 !important; }
.lp-person { display: flex; flex-direction: column; align-items: center; border: 3px solid var(--wp--preset--color--flow-border); padding: var(--wp--preset--spacing--15) var(--wp--preset--spacing--20) var(--wp--preset--spacing--25); text-align: center; }
.lp-person > * { margin: 0 !important; }
.lp-person .lp-person__art { width: 100%; max-width: 240px; }
.lp-person .lp-person__art img { display: block; width: 100%; height: auto; }
.lp-person .lp-person__who { margin-top: var(--wp--preset--spacing--10) !important; font-family: var(--lp-heading-font); font-size: 20px; line-height: 1.5; color: var(--lp-navy); }
.lp-person .lp-person__who::after { content: ""; display: block; width: 40px; height: 3px; margin: 10px auto 0; background: var(--lp-yellow); }
.lp-person .lp-person__change { margin-top: 10px !important; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; line-height: 1.8; color: var(--wp--preset--color--text-black); }
.lp-lp-main .lp-people__more { margin: var(--wp--preset--spacing--30) auto 0 !important; text-align: center; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; }
.lp-people__more a { color: var(--lp-navy); text-underline-offset: 4px; }
.lp-people__more a:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 3px; }
@media (max-width: 767px) {
	.lp-people__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto !important; }
	.lp-person { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--wp--preset--spacing--15); align-items: center; text-align: left; padding: var(--wp--preset--spacing--15); }
	.lp-person .lp-person__art { grid-row: 1 / 3; max-width: none; }
	.lp-person .lp-person__who { align-self: end; margin-top: 0 !important; font-size: 18px; }
	.lp-person .lp-person__who::after { margin: 6px 0 0; }
	.lp-person .lp-person__change { align-self: start; margin-top: 6px !important; font-size: 15px; }
}
@media (max-width: 599px) {
	.lp-people { padding-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--70); }
	.lp-people .lp-section-lead { text-align: center; }
	.lp-person { grid-template-columns: 100px minmax(0, 1fr); }
}

/* ===== Start page (for students) ===== */
.lp-ins-hero.lp-top-hero.lp-start-hero {
	background-image: linear-gradient(rgba(6, 43, 72, 0.74), rgba(6, 43, 72, 0.66)), url("../images/genre/genre-08.webp");
	background-position: center, center 30%;
	min-height: 560px;
}
.lp-start-hero .lp-top-hero__title { margin-top: var(--wp--preset--spacing--20); }
.lp-start-hero .lp-ins-hero__lead { max-width: 760px; margin-inline: auto !important; }
.lp-start-hero .wp-block-buttons { margin-top: var(--wp--preset--spacing--30); }
.lp-start-hero .lp-btn-accessible .wp-block-button__link { outline-offset: 3px; }
.lp-start-hero .lp-btn-accessible .wp-block-button__link:focus-visible { outline: 3px solid #fff; }
.lp-lp-main .wp-block-post-content > .lp-start-hero, .lp-lp-main .wp-block-post-content > .lp-start-hero ~ section { margin-block: 0 !important; }
.lp-start-flow { padding-bottom: var(--wp--preset--spacing--100); }
@media (max-width: 599px) {
	.lp-ins-hero.lp-top-hero.lp-start-hero { min-height: 0; padding-block: var(--wp--preset--spacing--70); }
}


/* People: four cards — two per row on tablets */
@media (min-width: 768px) and (max-width: 1023px) { .lp-people__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; margin-inline: auto !important; } }

/* ===== Magazine (/all-blogs/, category & archive pages) ===== */
.lp-mag-hero {
	background-color: var(--lp-navy);
	background-image: linear-gradient(rgba(6, 43, 72, 0.74), rgba(6, 43, 72, 0.64)), url("../images/top-instructor.jpg");
	background-size: cover; background-position: center, center 40%;
	border-bottom: 8px solid var(--lp-yellow);
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--20) !important;
	text-align: center; color: #fff;
}
.lp-mag-hero .lp-mag-hero__title { margin: 0; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: clamp(36px, 6.4vw, 64px); line-height: 1.2; letter-spacing: 0.02em; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); text-wrap: balance; }
.lp-mag-hero .lp-mag-hero__sub { margin: var(--wp--preset--spacing--15) 0 0; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(15px, 2vw, 18px); line-height: 1.7; letter-spacing: 0.06em; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); word-break: auto-phrase; text-wrap: balance; }
.lp-lp-main .wp-block-post-content > .lp-mag-hero, .lp-lp-main .wp-block-post-content > .lp-mag, .lp-mag-main > * { margin-block: 0 !important; }

.lp-mag { padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--20) var(--wp--preset--spacing--100) !important; }
.lp-mag > * + * { margin-top: var(--wp--preset--spacing--30) !important; }

/* "Dance for everyone" + reader entrances (three doors) */
.lp-mag-everyone + .lp-mag-doors { margin-top: var(--wp--preset--spacing--20); }
.lp-mag-everyone { text-align: center; }
.lp-mag-everyone__title { margin: 0; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; color: var(--lp-navy); }
.lp-mag-everyone__lead { margin: 6px 0 0; font-size: 15px; color: var(--wp--preset--color--text-gray); word-break: auto-phrase; text-wrap: balance; }
.lp-mag-doors__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--15); }
.lp-mag-doors__list > li { margin: 0; display: flex; }
.lp-mag-door { --door: var(--lp-green); flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; padding: var(--wp--preset--spacing--20); background: #fff; border: 1px solid var(--wp--preset--color--border-color); border-top: 6px solid var(--door); color: var(--wp--preset--color--text-black); text-decoration: none; }
.lp-mag-door--business { --door: var(--lp-navy); }
.lp-mag-door--start { --door: var(--lp-yellow); }
.lp-mag-door:hover { border-color: var(--door); box-shadow: 0 6px 18px rgba(6, 43, 72, 0.12); }
.lp-mag-door[aria-current="page"] { background: #f5faf6; border-color: var(--door); box-shadow: inset 0 0 0 2px var(--door); }
.lp-mag-door__eyebrow { font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--lp-heading); }
.lp-mag-door__label { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.5; color: var(--lp-navy); }
.lp-mag-door__lead { font-size: 14px; line-height: 1.7; color: var(--wp--preset--color--text-gray); word-break: auto-phrase; text-wrap: pretty; }
.lp-mag-door__count { margin-top: auto; padding-top: 8px; font-family: var(--lp-heading-font); font-weight: 700; font-size: 14px; color: var(--lp-action-text); }
@media (max-width: 767px) {
	.lp-mag-doors__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.lp-mag-door { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; border-top-width: 1px; border-left: 6px solid var(--door); padding: 12px 14px; }
	.lp-mag-door__eyebrow { grid-column: 1; font-size: 12px; }
	.lp-mag-door__label { grid-column: 1; font-size: 19px; }
	.lp-mag-door__lead { grid-column: 1; font-size: 13px; line-height: 1.6; }
	.lp-mag-door__count { grid-column: 2; grid-row: 1 / span 3; padding-top: 0; font-size: 13px; }
}
#lp-mag-list { scroll-margin-top: calc(var(--lp-header-h) + 12px); }
@media (max-width: 599px) { .lp-mag-hero .lp-mag-hero__sub { font-size: 14px; letter-spacing: 0.02em; } }

/* Keyword search */
.lp-mag-search { display: flex; gap: 8px; max-width: 640px; margin-inline: auto; }
.lp-mag-search__input { flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: 48px; padding: 0 16px; border: 1px solid var(--wp--preset--color--border-color); border-radius: var(--wp--custom--radius--pill); background: #fff; font-family: var(--wp--preset--font-family--sans); font-size: 16px; color: var(--wp--preset--color--text-black); }
.lp-mag-search__input:focus { outline: 3px solid var(--lp-yellow); border-color: var(--lp-navy); }
.lp-mag-search__btn { flex: none; height: 48px; padding: 0 24px; border: 0; border-radius: var(--wp--custom--radius--pill); background: var(--lp-navy); color: #fff; font-family: var(--lp-heading-font); font-weight: 700; font-size: 15px; cursor: pointer; }
.lp-mag-search__btn:hover { background: #0a3d66; }
@media (max-width: 599px) { .lp-mag-search__input::placeholder { font-size: 13px; } .lp-mag-search__btn { padding: 0 18px; } }

/* What the list is showing */
.lp-mag-status { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--10); border-bottom: 1px solid var(--wp--preset--color--rule-gray); }
.lp-mag-status .lp-mag-status__title { margin: 0; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.4; color: var(--lp-navy); word-break: auto-phrase; }
.lp-mag-status__count { margin-left: 10px; font-family: var(--wp--preset--font-family--sans); font-weight: 400; font-size: 14px; color: var(--wp--preset--color--text-gray); }
.lp-mag-status__clear { font-family: var(--lp-heading-font); font-size: 14px; color: var(--lp-heading); }

/* Current category heading */
.lp-mag-current { padding-top: var(--wp--preset--spacing--10); border-bottom: 1px solid var(--wp--preset--color--rule-gray); padding-bottom: var(--wp--preset--spacing--10); }
.lp-mag-current .lp-mag-current__label { margin: 0; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.15em; color: var(--lp-heading); }
.lp-mag-current .lp-mag-current__title { margin: 2px 0 0; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; color: var(--lp-navy); }

/* Card grid */
.lp-mag-query .lp-mag-grid, .lp-mag-related .lp-mag-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20); }
.lp-mag-grid > li { margin: 0 !important; display: flex; }
@media (max-width: 1025px) { .lp-mag-query .lp-mag-grid, .lp-mag-related .lp-mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .lp-mag-query .lp-mag-grid, .lp-mag-related .lp-mag-grid { grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--20); } }

.lp-mag-card { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; margin: 0; background: #fff; border: 1px solid var(--wp--preset--color--border-color); }
.lp-mag-card:hover { border-color: var(--lp-navy); }
.lp-mag-card:focus-within { outline: 3px solid var(--lp-navy); outline-offset: 2px; }
.lp-mag-card > * { margin-block: 0 !important; }
.lp-mag-card .lp-mag-card__img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wp--preset--color--surface-gray); }
.lp-mag-card .lp-mag-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.lp-mag-card:hover .lp-mag-card__img img { transform: scale(1.04); }
.lp-mag-card .lp-mag-card__body { padding: var(--wp--preset--spacing--15) var(--wp--preset--spacing--15) var(--wp--preset--spacing--20); }
.lp-mag-card .lp-mag-card__body > * { margin-block: 0; }
.lp-mag-card .lp-mag-card__meta { gap: 6px 10px; align-items: center; }
.lp-mag-card .lp-mag-labels { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.lp-mag-card .lp-mag-labels .wp-block-post-terms__separator { display: none; }
.lp-mag-label { display: inline-block; flex: none; padding: 2px 8px; border-radius: var(--wp--custom--radius--tag); background: var(--wp--preset--color--tag-blue-bg); color: var(--wp--preset--color--tag-blue); font-family: var(--wp--preset--font-family--sans); font-size: 12px; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.lp-mag-card .lp-mag-card__date { flex: none; margin: 0; font-family: var(--wp--preset--font-family--eng); font-size: 13px; color: var(--wp--preset--color--text-gray); }
.lp-mag-card .lp-mag-card__title { margin: var(--wp--preset--spacing--10) 0 0 !important; font-family: var(--lp-heading-font); font-weight: 700; font-size: 16px; line-height: 1.65; word-break: auto-phrase; text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.lp-mag-card .lp-mag-card__title a { color: var(--wp--preset--color--text-black); text-decoration: none; }
.lp-mag-card .lp-mag-card__title a::after { content: ""; position: absolute; inset: 0; }
.lp-mag-card .lp-mag-card__title a:focus-visible { outline: none; }
.lp-mag-card:hover .lp-mag-card__title a { color: var(--lp-navy); text-decoration: underline; }

/* Pager */
.lp-mag .lp-mag-pager { margin-top: var(--wp--preset--spacing--40) !important; align-items: center; }
.lp-mag-pager .page-numbers.current { background: var(--lp-navy); color: #fff; }
.lp-mag-pager a:hover { background: var(--lp-yellow); color: var(--lp-navy); }
.lp-mag-pager .wp-block-query-pagination-previous, .lp-mag-pager .wp-block-query-pagination-next { width: auto; padding: 0 18px; border-radius: var(--wp--custom--radius--pill); font-family: var(--lp-heading-font); font-weight: 700; font-size: 14px; color: var(--lp-heading); }
@media (max-width: 599px) {
	.lp-mag-pager .page-numbers, .lp-mag-pager a { width: 36px; height: 36px; margin: 4px; }
	.lp-mag-pager .wp-block-query-pagination-numbers { width: 100%; text-align: center; order: -1; }
}
.lp-mag-empty { text-align: center; color: var(--wp--preset--color--text-gray); }
.lp-mag-card .lp-mag-card__img--none { display: grid; place-items: center; background-color: var(--lp-yellow); background-image: radial-gradient(var(--lp-yellow-light) 6px, transparent 6.5px); background-size: 30px 30px; }
.lp-mag-card__img--none span { font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 20px; color: var(--lp-navy); }

.lp-mag-card .lp-mag-card__excerpt { margin: 8px 0 0 !important; }
.lp-mag-card__excerpt .wp-block-post-excerpt__excerpt { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--wp--preset--color--text-gray); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.lp-mag-card__excerpt .wp-block-post-excerpt__more-text { display: none; }

/* Article page */
.lp-mag-article > .wp-block-shortcode, .lp-mag-article > p { margin-block-start: 0; }
.lp-mag-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--wp--preset--color--text-gray); }
.lp-mag-crumb a { color: var(--lp-heading); }
.lp-mag-article .lp-mag-article__title { margin-top: var(--wp--preset--spacing--15); font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.5; color: var(--lp-navy); word-break: auto-phrase; text-wrap: pretty; }
.lp-mag-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: var(--wp--preset--spacing--10) 0 0; font-size: 13.5px; color: var(--wp--preset--color--text-gray); }
.lp-mag-article .lp-mag-article__img { margin-top: var(--wp--preset--spacing--20); }
.lp-mag-related { margin-top: var(--wp--preset--spacing--70) !important; }
.lp-mag-related .lp-mag-related__title { margin: 0 0 var(--wp--preset--spacing--20); font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 2.6vw, 24px); color: var(--lp-navy); word-break: auto-phrase; }
.lp-mag-related .lp-mag-card__title { font-size: 15px; }
.lp-mag-related__more { margin: var(--wp--preset--spacing--20) 0 0; text-align: right; font-family: var(--lp-heading-font); font-weight: 700; font-size: 15px; }
.lp-mag-related__more a { color: var(--lp-action-text); }

/* ===== Business register page ===== */
.lp-bizreg-top { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.lp-bizreg-top .lp-section-title { margin-top: 6px; }
.lp-bizreg-flow { padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40); }
.lp-flow--circled li::before { content: none; }
.lp-flow--circled .lp-flow__num { flex: 0 0 auto; font-size: 1.3em; line-height: 1; color: var(--lp-green); }
.lp-field--agree { gap: 12px; }

/* フッターの「運営会社」：クリックすると会社名が出る */
.lp-footer__company { display: inline-flex; align-items: baseline; gap: 0.8em; }
.lp-footer__company summary { cursor: pointer; list-style: none; }
.lp-footer__company summary::-webkit-details-marker { display: none; }
.lp-footer__company summary::after { content: "＋"; margin-left: 0.3em; font-size: 0.85em; }
.lp-footer__company[open] summary::after { content: "－"; }
.lp-footer__company summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Magazine article page on phones */
.lp-mag-article .lp-article-cta__text { word-break: auto-phrase; text-wrap: pretty; }
@media (max-width: 599px) {
	.lp-mag-article .lp-article-cta__btn { font-size: 15px; padding: 12px 16px; word-break: auto-phrase; }
	.lp-article-cta { padding: 28px 20px; }
}

/* Article headings: break at phrase boundaries, not mid-word, on phones */
.entry-content :is(h2, h3) { word-break: auto-phrase; text-wrap: balance; }
/* Keep a name such as "aoi先生" on one line inside body text */
.entry-content .lp-nobr { white-space: nowrap; }
/* Older articles: keep long URLs and large images inside the phone screen */
.entry-content :is(p, li, td, th) { overflow-wrap: break-word; }
.entry-content img { max-width: 100%; height: auto; }

/* Interview articles: LinoPod's questions in a soft box, the teacher's answers with a yellow line, a name label on each */
.entry-content .interview-q { margin-block-start: 2.2em; padding: 14px 18px; background: #f2f7f3; border-radius: 12px; color: var(--lp-navy); }
.entry-content .interview-a { margin-block-start: 1em; padding: 2px 0 2px 18px; border-left: 3px solid #ffe45c; }
.lp-iv-who { display: table; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; font-family: var(--lp-heading-font); font-weight: 700; font-size: 12.5px; line-height: 1.6; letter-spacing: 0.04em; }
.interview-q .lp-iv-who { background: var(--lp-action-text); color: #fff; }
.interview-a .lp-iv-who { background: #fff3a6; color: var(--lp-navy); }
.entry-content :is(h2, .wp-block-image, hr) + .interview-q { margin-block-start: 1.2em; }
.entry-content:has(.interview-q) .wp-block-image:not(:first-child) img { width: auto; max-width: 100%; max-height: min(560px, 75vh); border-radius: 8px; }
.entry-content:has(.interview-q) .wp-block-image figcaption { display: none; }
@media (max-width: 599px) { .entry-content .interview-q { padding: 12px 14px; } .entry-content .interview-a { padding-left: 14px; } }

/* Magazine top: links to interviews and news */
.lp-mag-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--15); }
.lp-mag-features li { margin: 0; display: flex; min-width: 0; }
.lp-mag-feature { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px; background: #fff; border: 1px solid #e3e8ee; border-top: 4px solid var(--lp-yellow); color: var(--lp-navy); text-decoration: none; text-align: center; }
.lp-mag-feature:hover { background: #f6f8fa; border-color: #d3dae2; border-top-color: var(--lp-yellow); }
.lp-mag-feature { justify-content: center; }
.lp-mag-feature--latest { justify-content: flex-start; min-width: 0; overflow: hidden; }
.lp-mag-feature__img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 10px; border-radius: 4px; }
.lp-mag-feature__title { margin-top: 8px; font-size: 13px; line-height: 1.5; text-align: left; align-self: stretch; min-width: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-mag-feature__en { font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--lp-heading); }
.lp-mag-feature__ja { font-family: var(--lp-heading-font); font-weight: 700; font-size: 17px; }
@media (max-width: 599px) { .lp-mag-feature { padding: 12px 8px; } .lp-mag-feature__ja { font-size: 15px; } .lp-mag-feature__title { font-size: 12px; } }

/* News & Events page */
.lp-closeup__label { margin: 0 0 10px; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: var(--lp-heading); }
.lp-closeup__card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--wp--preset--color--border-color); border-top: 6px solid var(--lp-yellow); }
.lp-closeup__img { margin: 0; min-height: 100%; }
.lp-closeup__img img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lp-closeup__body { padding: var(--wp--preset--spacing--30); display: flex; flex-direction: column; gap: 14px; }
.lp-closeup .lp-closeup__title { margin: 0; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.5; color: var(--lp-navy); word-break: auto-phrase; text-wrap: pretty; }
.lp-closeup__facts { margin: 0; display: grid; gap: 6px; }
.lp-closeup__facts div { display: flex; gap: 12px; }
.lp-closeup__facts dt { flex: none; min-width: 3.5em; padding: 1px 0; background: var(--lp-navy); color: #fff; font-size: 13px; font-weight: 700; text-align: center; }
.lp-closeup__facts dd { margin: 0; font-size: 15px; }
.lp-closeup__text { margin: 0; font-size: 15px; line-height: 1.8; word-break: auto-phrase; text-wrap: pretty; }
.lp-closeup__btn { align-self: flex-start; margin-top: auto; background: var(--lp-action); color: #fff; font-family: var(--lp-heading-font); font-weight: 700; font-size: 17px; padding: 12px 24px; text-decoration: none; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2); }
.lp-closeup__btn:hover { background: var(--lp-action-hover); }
@media (max-width: 767px) { .lp-closeup__card { grid-template-columns: minmax(0, 1fr); } .lp-closeup__body { padding: 18px 16px 22px; } .lp-closeup__btn { align-self: stretch; text-align: center; } }
.lp-news-page .lp-news-page__title { margin-top: var(--wp--preset--spacing--50) !important; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); color: var(--lp-navy); padding-bottom: 10px; border-bottom: 1px solid var(--wp--preset--color--rule-gray); }
.lp-news-rows { list-style: none; padding: 0; margin: 0; }
.lp-news-rows > li { margin: 0; border-bottom: 1px solid var(--wp--preset--color--rule-gray); }
.lp-news-row { gap: 6px 16px; align-items: center; padding: 16px 4px; }
.lp-news-row > * { margin: 0 !important; }
.lp-news-row .lp-news-row__date { font-family: var(--wp--preset--font-family--eng); font-size: 14px; color: var(--wp--preset--color--text-gray); }
.lp-news-row__tag a { display: inline-block; padding: 1px 10px; background: var(--lp-yellow); color: var(--lp-navy); font-size: 12px; font-weight: 700; text-decoration: none; pointer-events: none; }
.lp-news-row .lp-news-row__title { flex: 1 1 100%; font-size: 16px; font-weight: 700; line-height: 1.6; }
.lp-news-row__title a { color: var(--wp--preset--color--text-black); text-decoration: none; }
.lp-news-row__title a:hover { color: var(--lp-navy); text-decoration: underline; }
@media (min-width: 768px) { .lp-news-row { flex-wrap: nowrap !important; } .lp-news-row .lp-news-row__title { flex: 1 1 auto; } }

/* Teacher interview page */
.lp-interview-hero .lp-interview-hero__en { margin: 0 0 6px; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; color: var(--lp-yellow); }
.lp-mag-hero .lp-interview-hero__title { font-family: var(--lp-heading-font); font-size: clamp(28px, 4.4vw, 44px); letter-spacing: 0.04em; }
.lp-interview-empty { max-width: 640px; margin-inline: auto !important; padding: var(--wp--preset--spacing--30); background: var(--wp--preset--color--surface-gray); text-align: center; }
.lp-interview-empty > * { margin: 0 !important; }
.lp-interview-empty > * + * { margin-top: 10px !important; }
.lp-interview-empty .lp-interview-empty__title { font-family: var(--lp-heading-font); font-weight: 700; font-size: 20px; color: var(--lp-navy); }

/* Pages linked from the site but not built yet (404 template) */
.lp-preparing { max-width: 640px; margin: var(--wp--preset--spacing--30) auto 0; padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30); background: #fffbee; border: 3px solid var(--lp-yellow); text-align: center; }
.lp-preparing > * { margin: 0; }
.lp-preparing > * + * { margin-top: 14px; }
.lp-preparing__en { font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; color: var(--lp-heading); }
.lp-preparing .lp-preparing__title { font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: clamp(30px, 4.4vw, 40px); letter-spacing: 0.04em; color: var(--lp-navy); }
.lp-preparing { border-width: 2px; border-radius: 12px; }
.lp-preparing__text { font-size: 15px; line-height: 1.8; word-break: auto-phrase; text-wrap: pretty; }
.lp-preparing .lp-link a { display: inline-block; margin: 4px 8px; white-space: nowrap; }

/* Floating buttons on business pages */
.lp-floating--business .lp-btn--contact .wp-block-button__link { background: var(--lp-action); }
.lp-floating--business .lp-btn--service .wp-block-button__link { background: #fff; color: var(--lp-navy); border: 2px solid var(--lp-navy); }
.lp-floating--business .lp-btn--service .wp-block-button__link::after { background: var(--lp-navy); }
.page-template-page-lp .lp-floating--business { display: flex; }
@media (max-width: 599px) {
	.lp-floating--business .lp-btn--service { display: none; }
	.lp-floating--business .lp-btn--contact .wp-block-button__link { padding-inline: 28px 40px; }
}
.lp-floating--business .lp-btn--contact .wp-block-button__link::after { background: #fff; color: var(--lp-action-text); }

/* Member sign-up closed (/viewer-register-form) */
.lp-closed { max-width: 680px; margin: var(--wp--preset--spacing--30) auto 0; padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30); background: var(--lp-navy); color: #fff; text-align: center; border-bottom: 6px solid var(--lp-yellow); }
.lp-closed > * { margin: 0; }
.lp-closed > * + * { margin-top: 18px; }
.lp-closed__en { font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lp-yellow); }
.lp-closed .lp-closed__title { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.6; color: #fff; }
.lp-closed__text { font-size: 15px; line-height: 1.9; word-break: auto-phrase; text-wrap: pretty; }
.lp-closed__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 6px; }
.lp-closed__btn { display: inline-block; background: #fff; color: var(--lp-navy) !important; font-family: var(--lp-heading-font); font-weight: 700; font-size: 17px; padding: 14px 26px; text-decoration: none; }
.lp-closed__btn:hover { background: var(--lp-yellow); }
.lp-closed__link { color: #fff !important; font-size: 14px; }
@media (max-width: 599px) { .lp-closed { padding-inline: 20px; } .lp-closed .lp-closed__title { font-size: 20px; } .lp-closed__btn { font-size: 16px; padding: 12px 24px; } }
.lp-mag-related .lp-mag-related__en { margin: 0; font-family: var(--wp--preset--font-family--eng); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lp-heading); }
.lp-mag-related .lp-mag-related__en + .lp-mag-related__title { margin-top: 4px; }
.lp-closed__text a { color: #fff; text-decoration: underline; }
.lp-closed .lp-closed__note { font-size: 12.5px; color: #b8c6d3; }
@media (max-width: 599px) { .lp-closed__btn { font-size: 14px; padding: 12px 14px; } }

/* Floating buttons: rounded corners */
.lp-floating .wp-block-button__link { border-radius: 10px; }

/* Article-end guide: photo behind the navy, text stays on the dark side */
.lp-article-cta { position: relative; border-left: 0; border-radius: 12px; overflow: hidden; background-color: var(--lp-navy); background-repeat: no-repeat; background-size: cover; }
.lp-article-cta--instructor { background-image: linear-gradient(90deg, rgba(6, 43, 72, 1) 0%, rgba(6, 43, 72, 1) 40%, rgba(6, 43, 72, 0.88) 55%, rgba(6, 43, 72, 0.3) 100%), url("../images/cta-instructor.jpg"); background-position: center, right 22%; background-size: cover, 62% auto; }
.lp-article-cta--business { background-image: linear-gradient(90deg, rgba(6, 43, 72, 0.97) 0%, rgba(6, 43, 72, 0.9) 50%, rgba(6, 43, 72, 0.4) 100%), url("../images/business-goal-bg.jpg"); background-position: center, right center; }
.lp-article-cta > * { position: relative; max-width: 640px; }
.lp-article-cta__btn { border-radius: 10px; }
@media (max-width: 767px) {
	.lp-article-cta--instructor { background-image: linear-gradient(180deg, rgba(6, 43, 72, 0.45) 0, rgba(6, 43, 72, 0.85) 110px, rgba(6, 43, 72, 1) 170px), url("../images/cta-instructor.jpg"); background-size: 100% auto; background-position: center, center top; padding-top: 150px !important; }
	.lp-article-cta--business { background-image: linear-gradient(180deg, rgba(6, 43, 72, 0.45) 0, rgba(6, 43, 72, 0.85) 110px, rgba(6, 43, 72, 1) 170px), url("../images/business-goal-bg.jpg"); background-size: 100% auto; background-position: center, center top; padding-top: 150px !important; }
}

/* Cards without a photo: plain navy instead of yellow dots. Pick-up event button corners match the others. */
.lp-mag-card .lp-mag-card__img--none { background-color: var(--lp-navy); background-image: none; }
.lp-mag-card__img--none span { color: #fff; letter-spacing: 0.04em; }
.lp-closeup__btn { border-radius: 10px; }
.lp-closeup__card { border-radius: 12px; overflow: hidden; }

/* Legal pages (利用規約・特定商取引法に基づく表記) */
.lp-legal-toc { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 18px; background: var(--wp--preset--color--surface-gray); border-radius: 10px; font-family: var(--lp-heading-font); font-weight: 700; }
.lp-legal-toc a { color: var(--lp-navy); }
.lp-main h2[id] { scroll-margin-top: calc(var(--lp-header-h) + 16px); }
.lp-register__note { margin-top: 10px; font-size: 14px; color: var(--wp--preset--color--text-gray); text-align: center; word-break: auto-phrase; text-wrap: pretty; }
.lp-register__note a { color: var(--lp-heading); }
