.seo-lp { color: var(--navy); background: var(--paper); }
.seo-lp > .wp-block-group { margin: 0; }
.seo-lp__breadcrumb { display: flex; gap: 10px; padding-top: 22px; padding-bottom: 22px; color: var(--blue); font-size: 12px; }
.seo-lp__breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.seo-lp__hero, .seo-lp__section { padding: 104px max(24px, calc((100vw - 1180px) / 2)); }
.seo-lp__hero { padding-top: 100px; padding-bottom: 112px; background: var(--greige); }
.seo-lp__section--white { background: var(--white); }
.seo-lp__section--tint { background: var(--paper); }
.seo-lp__eyebrow { margin: 0 0 24px; color: var(--gold); font-size: 12px; font-weight: 500; letter-spacing: .18em; line-height: 1.5; }
.seo-lp__h1, .seo-lp__h2, .seo-lp h3 { font-family: var(--font-heading); font-weight: 500; letter-spacing: .035em; }
.seo-lp__h1 { max-width: 920px; margin: 0 0 12px; font-size: clamp(32px, 4.1vw, 56px); line-height: 1.35; }
.seo-lp__hero-tagline { max-width: 920px; margin: 0 0 32px; font-family: var(--font-heading); font-size: clamp(32px, 4.1vw, 56px); font-weight: 500; line-height: 1.35; letter-spacing: .035em; }
.seo-lp__hero-tagline .seo-lp__h1-unit { display: inline; }
.seo-lp__h2 { max-width: 920px; margin: 0 0 28px; font-size: clamp(29px, 3.3vw, 43px); line-height: 1.38; }
.seo-lp__problem .seo-lp__h2, .seo-lp__why .seo-lp__h2, .seo-lp__final .seo-lp__h2 { max-width: 1100px; font-size: clamp(29px, 2.8vw, 39px); }
.seo-lp__lead { max-width: 760px; margin: 0 0 24px; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.9; }
.seo-lp__intro { max-width: 750px; margin: 0 0 48px; color: var(--blue); font-size: 17px; }
.seo-lp__hero > p:not(.seo-lp__eyebrow):not(.seo-lp__lead):not(.seo-lp__micro) { max-width: 760px; }
.seo-lp__micro { margin: 24px 0 0; color: var(--blue); font-size: 12px; line-height: 1.7; }
.seo-lp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.seo-lp .wp-block-button { margin: 0; }
.seo-lp__button .wp-block-button__link { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid var(--navy); border-radius: var(--radius); background: transparent; color: var(--navy); font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.seo-lp__button .wp-block-button__link:hover { transform: translateY(-2px); }
.seo-lp__button--primary .wp-block-button__link { background: var(--navy); color: var(--white); }
.seo-lp__button--primary .wp-block-button__link:hover { background: var(--navy-deep); }
.seo-lp__button--outline .wp-block-button__link:hover { background: var(--blue-pale); }
.seo-lp__button--light .wp-block-button__link { border-color: var(--white); background: var(--white); color: var(--navy); }
.seo-lp__button--ghost .wp-block-button__link { border-color: rgba(255,255,255,.75); color: var(--white); }
.seo-lp__button--ghost .wp-block-button__link:hover { background: rgba(255,255,255,.12); }
.seo-lp__grid { display: grid; gap: 18px; margin: 0 0 28px; }
.seo-lp__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-lp__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-lp__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seo-lp__card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.seo-lp__card .seo-lp__num { margin: 0 0 26px; color: var(--gold); font-family: "DM Sans", sans-serif; font-size: 14px; letter-spacing: .12em; }
.seo-lp__card h3 { min-height: 2.8em; margin: 0 0 16px; font-size: 21px; line-height: 1.4; }
.seo-lp__card p:last-child { margin-bottom: 0; color: var(--blue); font-size: 14px; }
.seo-lp__closing { max-width: 850px; margin: 36px 0 24px; font-size: clamp(17px, 2vw, 22px); line-height: 1.75; }
.seo-lp a:not(.wp-block-button__link):not(.seo-lp__breadcrumb a) { text-decoration: underline; text-underline-offset: 4px; }
.seo-lp__routes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 44px 0; }
.seo-lp__route { padding: 32px; border-radius: var(--radius); background: var(--white); }
.seo-lp__route h3 { margin: 0 0 18px; font-size: 22px; }
.seo-lp__route p { margin: 0 0 12px; font-size: 15px; }
.seo-lp__route p:last-child { margin-bottom: 0; }
.seo-lp__route p span { color: var(--gold); font-weight: 500; }
.seo-lp__card--compare { padding: 38px; }
.seo-lp__card--compare h3 { min-height: 0; }
.seo-lp__card--compare ul { margin: 24px 0 0; padding-left: 20px; font-size: 14px; line-height: 2; }
.seo-lp__card--compare li::marker { color: var(--gold); }
.seo-lp__master, .seo-lp__final { color: var(--white); background: var(--navy); }
.seo-lp__master .seo-lp__h2, .seo-lp__final .seo-lp__h2 { color: var(--white); }
.seo-lp__master .seo-lp__intro, .seo-lp__final .seo-lp__intro, .seo-lp__master .seo-lp__micro, .seo-lp__final .seo-lp__micro { color: rgba(255,255,255,.84); }
.seo-lp__master .seo-lp__card { color: var(--navy); }
.seo-lp__master-price { max-width: 900px; margin: 36px 0; padding: 32px 38px; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); }
.seo-lp__master-price h3 { margin: 0 0 18px; font-size: 24px; }
.seo-lp__master-price p { margin: 0 0 10px; }
.seo-lp__master-price p:last-child { margin-bottom: 0; }
.seo-lp__profile { display: flex; align-items: center; gap: 28px; max-width: 900px; margin-top: 30px; padding: 20px; border-radius: var(--radius); background: var(--paper); }
.seo-lp__profile-image { flex: 0 0 110px; width: 110px; margin: 0; }
.seo-lp__profile-image img { width: 110px; height: 110px; object-fit: cover; }
.seo-lp__profile p { margin: 0 0 10px; }
.seo-lp__profile p:last-child { margin-bottom: 0; }
.seo-lp__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; max-width: 1000px; margin: 40px 0 0; padding: 0; list-style: none; }
.seo-lp__checks li { position: relative; padding: 14px 16px 14px 42px; border-bottom: 1px solid var(--line); }
.seo-lp__checks li::before { content: "✓"; position: absolute; left: 16px; color: var(--gold); font-weight: 500; }
.seo-lp__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 46px; }
.seo-lp__step { position: relative; min-width: 0; padding: 24px 18px; border-top: 2px solid var(--navy); background: var(--paper); }
.seo-lp__step:not(:last-child)::after { content: "→"; position: absolute; top: 16px; right: -15px; z-index: 1; color: var(--gold); }
.seo-lp__step .seo-lp__num { margin: 0 0 18px; color: var(--gold); font-size: 12px; letter-spacing: .1em; }
.seo-lp__step h3 { margin: 0 0 12px; font-size: 19px; }
.seo-lp__step p:last-child { margin: 0; color: var(--blue); font-size: 13px; }
.seo-lp__price-list { max-width: 920px; border-top: 1px solid var(--line); }
.seo-lp__price-list p { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 0; padding: 19px 8px; border-bottom: 1px solid var(--line); }
.seo-lp__price-list p strong { font-weight: 500; text-align: right; }
.seo-lp__faq details { max-width: 920px; border-bottom: 1px solid var(--line); }
.seo-lp__faq details:first-of-type { border-top: 1px solid var(--line); }
.seo-lp__faq summary { padding: 23px 28px 23px 0; cursor: pointer; font-weight: 500; }
.seo-lp__faq details p { max-width: 820px; margin: 0 0 24px; color: var(--blue); font-size: 15px; }
.seo-lp__faq .wp-block-buttons { margin-top: 34px; }
.seo-lp :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* LP専用の視覚的な階層。既存ページには作用させない。 */
.seo-lp__hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); column-gap: 64px; align-items: start; background: #f8f5ee; }
.seo-lp__hero > :not(.seo-lp__hero-visual) { grid-column: 1; }
.seo-lp__hero-visual { grid-column: 2; grid-row: 1 / span 8; align-self: center; padding: 34px; border: 1px solid #d4e1d7; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(34,59,50,.075); }
.seo-lp__hero-visual-title { margin: 0 0 30px; font-size: 20px; line-height: 1.6; }
.seo-lp__hero-visual-title strong { color: var(--navy); font-size: 31px; }
.seo-lp__hero-visual-list { display: grid; gap: 12px; }
.seo-lp__hero-visual-list span { display: block; padding: 17px 20px; border-left: 3px solid var(--gold); background: #eef5ef; font-weight: 600; }
.seo-lp__hero-visual > p:last-child { margin: 27px 0 0; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.seo-lp__hero .seo-lp__h1, .seo-lp__hero .seo-lp__hero-tagline { font-size: clamp(30px,2.8vw,40px); }
.seo-lp__change, .seo-lp__flow { background: #f0f6f2; }
.seo-lp__compare, .seo-lp__why, .seo-lp__price { background: #f8f5ee; }
.seo-lp__solution, .seo-lp__target, .seo-lp__problem, .seo-lp__faq { background: #fff; }
.seo-lp__hero, .seo-lp__section { padding-inline: max(32px, calc((100vw - 1180px) / 2)); }
.seo-lp__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.seo-lp__eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.seo-lp__section > .seo-lp__h2 { max-width: 1000px; }
.seo-lp__card { height: 100%; border-color: #d8e1da; box-shadow: 0 7px 20px rgba(34,59,50,.045); }
.seo-lp__problem .seo-lp__card { background: #f9fbf9; }
.seo-lp__problem .seo-lp__num { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: #eaf1ec; color: var(--navy); }
.seo-lp__route { border: 1px solid #d4e0d7; box-shadow: 0 8px 22px rgba(34,59,50,.04); }
.seo-lp__route:last-child { background: #e9f2ec; }
.seo-lp__route h3 { padding-bottom: 16px; border-bottom: 1px solid #d4e0d7; }
.seo-lp__change .seo-lp__closing { max-width: none; padding: 22px 28px; border-left: 4px solid var(--gold); background: #fff; font-size: clamp(16px,1.6vw,19px); }
.seo-lp__compare .seo-lp__card:first-child { background: #fffdf8; }
.seo-lp__compare .seo-lp__card:last-child { background: #edf5ef; }
.seo-lp__card--compare ul { margin-top: auto; padding-top: 24px; }
.seo-lp__equation { width: fit-content; margin: 26px auto 0; padding: 12px 24px; border: 1px solid #ceddd2; border-radius: 100px; background: #fff; color: var(--navy); font-weight: 700; text-align: center; }
.seo-lp__equation span { color: var(--gold); }
.seo-lp__equation small { display: block; color: var(--blue); font-size: 12px; font-weight: 400; }
.seo-lp__related { max-width: 850px; min-width: 0; margin: 32px auto 0; padding: 24px 28px; border: 1px solid #d8e1da; border-left: 3px solid var(--gold); border-radius: var(--radius); background: #fff; }
.seo-lp__related-label { margin: 0 0 8px; color: var(--navy); font-size: 16px; font-weight: 700; }
.seo-lp__related-description { margin: 0 0 12px; color: var(--blue); font-size: 14px; line-height: 1.7; }
.seo-lp__related-link { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; }
.seo-lp__related-link a { color: var(--navy); }
.seo-lp__related-link a:hover { color: var(--gold); }
.seo-lp__related-link a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.seo-lp__button .wp-block-button__link { box-shadow: 0 4px 12px rgba(34,59,50,.08); }
.seo-lp__button--small .wp-block-button__link { min-height: 44px; padding: 9px 17px; font-size: 13px; }
.seo-lp__button .wp-block-button__link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.seo-lp__master { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 56px; align-items: start; }
.seo-lp__master .seo-lp__h2 { font-size: clamp(28px, 2.1vw, 30px); }
.seo-lp__master > .seo-lp__eyebrow, .seo-lp__master > .seo-lp__h2, .seo-lp__master > .seo-lp__intro, .seo-lp__master > .seo-lp__grid { grid-column: 1; }
.seo-lp__master > .seo-lp__master-price { grid-column: 2; grid-row: 1 / span 4; }
.seo-lp__master > .seo-lp__actions, .seo-lp__master > .seo-lp__micro { grid-column: 1 / -1; }
.seo-lp__master > .seo-lp__grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 0; }
.seo-lp__master .seo-lp__card { padding: 17px 22px; }
.seo-lp__master .seo-lp__card h3 { min-height: 0; margin-bottom: 6px; font-size: 18px; }
.seo-lp__master .seo-lp__card p { margin-bottom: 0; }
.seo-lp__master-price { max-width: none; margin: 0; background: rgba(255,255,255,.09); }
.seo-lp__master-fees { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.seo-lp__master-fees p { display: flex; flex-direction: column; gap: 8px; min-height: 94px; padding: 15px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(255,255,255,.08); }
.seo-lp__master-fees span { color: rgba(255,255,255,.78); font-size: 12px; }
.seo-lp__master-fees strong { font-size: clamp(17px,1.7vw,23px); line-height: 1.35; }
.seo-lp__master-highlight { padding: 15px 18px; border-radius: var(--radius); background: #fff; color: var(--navy); font-weight: 700; }
.seo-lp__why { display: grid; grid-template-columns: minmax(0,1fr) 330px; column-gap: 28px; align-items: stretch; }
.seo-lp__why > .seo-lp__eyebrow, .seo-lp__why > .seo-lp__h2 { grid-column: 1 / -1; }
.seo-lp__why > .seo-lp__grid { grid-column: 1; margin-bottom: 0; }
.seo-lp__why .seo-lp__card { padding: 23px; }
.seo-lp__why .seo-lp__card h3 { min-height: 0; font-size: 17px; }
.seo-lp__why > .seo-lp__profile { grid-column: 2; grid-row: 3; flex-direction: column; align-items: stretch; max-width: none; margin: 0; padding: 26px; border: 1px solid #d8e1da; background: #fff; }
.seo-lp__profile-image, .seo-lp__profile-image img { width: 120px; height: 120px; }
.seo-lp__profile a { display: inline-flex; margin: 4px 8px 4px 0; padding: 7px 0; font-weight: 600; }
.seo-lp__profile-links { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-lp__profile .seo-lp__profile-links a { align-items: center; min-height: 44px; margin: 0; padding: 8px 12px; border: 1px solid #cbd9ce; border-radius: var(--radius); background: #fff; font-size: 12px; text-decoration: none; }
.seo-lp__profile .seo-lp__profile-links a:hover { background: #edf5ef; }
.seo-lp__target .seo-lp__checks { max-width: none; }
.seo-lp__checks li { border: 1px solid #e0e9e2; border-radius: var(--radius); background: #f8fbf9; }
.seo-lp__flow .seo-lp__step { border: 1px solid #d8e1da; border-top: 3px solid var(--navy); border-radius: var(--radius); background: #fff; box-shadow: 0 6px 18px rgba(34,59,50,.04); }
.seo-lp__flow .seo-lp__step:not(:last-child)::after { top: 50%; right: -19px; display: block; font-size: 20px; transform: translateY(-50%); }
.seo-lp__price-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; max-width: none; border-top: 0; }
.seo-lp__price-list p { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 110px; padding: 20px 24px; border: 1px solid #d8e1da; border-radius: var(--radius); background: #fff; box-shadow: 0 6px 18px rgba(34,59,50,.04); }
.seo-lp__price-list p strong { color: var(--navy); font-size: 21px; text-align: left; }
.seo-lp__price-list p:last-child { background: #eaf2ec; }
.seo-lp__faq summary { position: relative; padding: 24px 46px 24px 18px; list-style: none; transition: background .2s; }
.seo-lp__faq summary::-webkit-details-marker { display: none; }
.seo-lp__faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; color: var(--navy); font-size: 24px; transform: translateY(-50%); }
.seo-lp__faq details[open] summary::after { content: "−"; }
.seo-lp__faq summary:hover { background: #f3f7f4; }
.seo-lp__faq details p { margin-left: 18px; }

/* WordPress 7.1 の Group ブロックが挿入する内側ラッパーをレイアウト上は透過する。
   これがないと Grid / Flex の子がラッパー1個になり、カードが縦一列に崩れる。 */
.seo-lp .wp-block-group > .wp-block-group__inner-container { display: contents; }
.seo-lp .wp-block-group__inner-container > * { margin-block-start: 0; }
.seo-lp__hero > .wp-block-group__inner-container > :not(.seo-lp__hero-visual) { grid-column: 1; }
.seo-lp__master > .wp-block-group__inner-container > .seo-lp__eyebrow,
.seo-lp__master > .wp-block-group__inner-container > .seo-lp__h2,
.seo-lp__master > .wp-block-group__inner-container > .seo-lp__intro,
.seo-lp__master > .wp-block-group__inner-container > .seo-lp__grid { grid-column: 1; }
.seo-lp__master > .wp-block-group__inner-container > .seo-lp__master-price { grid-column: 2; grid-row: 1 / span 4; }
.seo-lp__master > .wp-block-group__inner-container > .seo-lp__actions,
.seo-lp__master > .wp-block-group__inner-container > .seo-lp__micro { grid-column: 1 / -1; }
.seo-lp__master > .wp-block-group__inner-container > .seo-lp__grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 0; }
.seo-lp__why > .wp-block-group__inner-container > .seo-lp__eyebrow,
.seo-lp__why > .wp-block-group__inner-container > .seo-lp__h2 { grid-column: 1 / -1; }
.seo-lp__why > .wp-block-group__inner-container > .seo-lp__grid { grid-column: 1; margin-bottom: 0; }
.seo-lp__why > .wp-block-group__inner-container > .seo-lp__profile { grid-column: 2; grid-row: 3; }
@media (max-width: 1080px) {
  .seo-lp__hero { display: block; }
  .seo-lp__hero-visual { display: none; }
  .seo-lp__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-lp__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-lp__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-lp__step::after { display: none; }
  .seo-lp__master, .seo-lp__why { display: block; }
  .seo-lp__master > .seo-lp__grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 24px; }
  .seo-lp__master-price { margin: 24px 0; }
  .seo-lp__why > .seo-lp__grid { margin-bottom: 24px; }
  .seo-lp__why > .seo-lp__profile { flex-direction: row; }
  .seo-lp__flow .seo-lp__step::after { display: none; }
  .seo-lp__master > .wp-block-group__inner-container > .seo-lp__grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 24px; }
  .seo-lp__master > .wp-block-group__inner-container > .seo-lp__master-price { margin: 24px 0; }
  .seo-lp__why > .wp-block-group__inner-container > .seo-lp__grid { margin-bottom: 24px; }
  .seo-lp__why > .wp-block-group__inner-container > .seo-lp__profile { flex-direction: row; }
}
@media (max-width: 767px) {
  .seo-lp__hero, .seo-lp__section { padding: 70px 20px; }
  .seo-lp__hero { padding-top: 60px; }
  .seo-lp__h1, .seo-lp__hero-tagline { font-size: clamp(26px, 6.6vw, 34px); letter-spacing: .01em; }
  .seo-lp__desktop-break { display: none; }
  .seo-lp__hero-tagline .seo-lp__h1-unit { display: inline; }
  .seo-lp__h2, .seo-lp__problem .seo-lp__h2, .seo-lp__why .seo-lp__h2, .seo-lp__final .seo-lp__h2 { font-size: clamp(25px, 5.8vw, 34px); }
  .seo-lp__intro { margin-bottom: 32px; font-size: 15px; }
  .seo-lp__grid--2, .seo-lp__grid--3, .seo-lp__grid--4, .seo-lp__routes, .seo-lp__checks, .seo-lp__steps { grid-template-columns: 1fr; }
  .seo-lp__card { padding: 24px; }
  .seo-lp__card h3 { min-height: 0; }
  .seo-lp__card .seo-lp__num { margin-bottom: 18px; }
  .seo-lp__profile { align-items: flex-start; flex-direction: column; }
  .seo-lp__route { padding: 24px; }
  .seo-lp__master-price { padding: 24px; }
  .seo-lp__price-list p { display: grid; gap: 4px; }
  .seo-lp__price-list p strong { text-align: left; }
  .seo-lp__actions { display: grid; }
  .seo-lp__actions .wp-block-button, .seo-lp__actions .wp-block-button__link { width: 100%; }
  .seo-lp__hero, .seo-lp__section { padding-inline: 20px; }
  .seo-lp__master > .seo-lp__grid, .seo-lp__price-list { grid-template-columns: 1fr; }
  .seo-lp__master-fees { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .seo-lp__why > .seo-lp__profile { flex-direction: column; }
  .seo-lp__price-list p { min-height: 0; }
  .seo-lp__price-list p strong { font-size: 18px; }
  .seo-lp .wp-block-buttons .seo-lp__button, .seo-lp .wp-block-buttons .seo-lp__button .wp-block-button__link { width: 100%; }
  .seo-lp__master > .wp-block-group__inner-container > .seo-lp__grid { grid-template-columns: 1fr; }
  .seo-lp__why > .wp-block-group__inner-container > .seo-lp__profile { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-lp__button .wp-block-button__link { transition: none; }
  .seo-lp__button .wp-block-button__link:hover { transform: none; }
}
