/* Guide-only type scale. LW-UV proportions, restrained weights, 920px body grid. */
.lw-guide {
    --guide-title: 32px;
    --guide-heading: 24px;
    --guide-subheading: 18px;
    --guide-body: 15px;
    --guide-note: 13px;
    --guide-table: 14px;
    background: #fff;
    color: #111;
    font-family: Montserrat, "Noto Sans JP", sans-serif;
    font-size: var(--guide-body);
    font-weight: 400;
    line-height: 1.8;
}
.lw-guide-container {
    width: min(920px, calc(100% - 48px));
    max-width: 920px;
    margin-inline: auto;
}
.lw-guide :is(h1, h2, h3, h4) { line-height: 1.4; }
.lw-guide h2 { margin: 32px 0 16px; font-size: var(--guide-heading); font-weight: 700; }
.lw-guide :is(h3, h4) { margin: 24px 0 10px; font-size: var(--guide-subheading); font-weight: 600; }
.lw-guide :is(h2, h3, h4):first-child { margin-top: 0; }
.lw-guide :is(p, ul, ol) { margin: 0 0 14px; }
.lw-guide :is(p, li) { font-size: var(--guide-body); font-weight: 400; line-height: 1.8; }
.lw-guide :is(p, li, td) :is(strong, b) { font-weight: inherit; }
.lw-guide :is(ul, ol) { padding-left: 1.4em; }
.lw-guide li + li { margin-top: 6px; }
.lw-guide-container > :last-child { margin-bottom: 0; }
.lw-guide-section { padding-block: 40px; }
.lw-guide-section--muted { background: #f6f6f6; }
.lw-guide :focus-visible { outline: 3px solid #0b83c9; outline-offset: 3px; }

/* Only the hero is edge-to-edge. The two desktop halves never have a gap. */
.lw-guide-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 280px; }
.lw-guide-hero__media { min-width: 0; position: relative; }
.lw-guide-hero__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lw-guide-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 36px 40px; background: #f7f7f7; }
.lw-guide-hero h1 { margin: 0; font-size: var(--guide-title); font-weight: 600; line-height: 1.4; text-wrap: balance; }
.lw-guide-hero p { margin: 14px 0 0; }

.lw-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lw-guide-card { display: flex; min-width: 0; flex-direction: column; padding: 20px; border: 1px solid #ddd; border-radius: 10px; background: #fff; }
.lw-guide-card h2 { margin: 0 0 16px; font-size: var(--guide-subheading); font-weight: 600; }
.lw-guide-card > a { align-self: flex-start; margin-top: auto; color: #087fc5; font-size: 14px; font-weight: 600; text-decoration: none; }
.lw-guide-grid--links .lw-guide-card { min-height: 126px; }
.lw-guide-machine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lw-guide-machine { min-width: 0; overflow: hidden; border: 1px solid #ddd; border-radius: 10px; background: #fff; }
.lw-guide-machine > a { display: block; padding: 12px; }
.lw-guide-machine img { display: block; width: 100%; height: 200px; object-fit: contain; }
.lw-guide-machine > div { padding: 0 18px 18px; text-align: center; }
.lw-guide-machine h3 { margin: 4px 0; }
.lw-guide-machine h3 a { color: inherit; text-decoration: none; }
.lw-guide-machine p { margin: 0; }
.lw-guide-machine .lw-guide-machine__type { font-size: var(--guide-note); }
.lw-guide-location { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
.lw-guide-location img { display: block; width: 100%; max-height: 380px; object-fit: cover; }
.lw-guide-button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 9px 24px; border-radius: 24px; background: #1098e8; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.6; text-decoration: none; }
.lw-guide-benefits { display: grid; }
.lw-guide-benefit { padding: 18px 0; border-bottom: 1px solid #ddd; }
.lw-guide-benefit :last-child { margin-bottom: 0; }
.lw-guide .lw-guide-note, .lw-guide .running-cost-note { font-size: var(--guide-note); font-weight: 400; line-height: 1.75; }

.lw-guide-faq { display: grid; gap: 10px; }
.lw-guide-faq__button { position: relative; width: 100%; padding: 15px 48px 15px 18px; border: 1px solid #d7d7d7; border-radius: 8px; background: #fff; color: #111; text-align: left; font-family: inherit; font-size: var(--guide-subheading); font-weight: 600; line-height: 1.5; cursor: pointer; }
.lw-guide-faq__button::after { content: "＋"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-size: 1em; font-weight: 400; }
.lw-guide-faq__button[aria-expanded=true]::after { content: "−"; }
.lw-guide-faq__panel { padding: 16px 18px 20px; font-weight: 400; }
.lw-guide-faq__panel[hidden] { display: none; }
.lw-guide-faq__panel > strong { font-weight: 400; }
.lw-guide-faq__images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.lw-guide-faq__images img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
.lw-guide-table-wrap { max-width: 100%; }
.lw-guide-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.lw-guide-table :is(th, td) { padding: 12px; border: 1px solid #ccc; vertical-align: top; font-size: var(--guide-table); line-height: 1.65; overflow-wrap: anywhere; }
.lw-guide-table th { background: #f3f3f3; text-align: left; font-weight: 600; }
.lw-guide-table td { font-weight: 400; }
.lw-guide-table + p, .lw-guide-table-wrap + p { margin-top: 14px; }
.lw-guide-cta { padding: 26px; border-radius: 10px; background: #111; color: #fff; text-align: center; }
.lw-guide-cta .lw-guide-button { margin-top: 4px; }
.lw-guide-widget { display: block; width: 100%; max-width: none; height: 680px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

.running-cost-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.running-cost-icon-card { display: grid; grid-template-rows: auto 1fr; justify-items: center; padding: 12px; border: 1px solid #ddd; border-radius: 10px; background: #fff; text-align: center; }
.running-cost-icon { display: block; width: 100%; max-width: 132px; aspect-ratio: 3 / 4; }
.running-cost-icon svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.running-cost-icon-card h2 { align-self: center; min-height: 3em; align-content: center; margin: 10px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; text-wrap: balance; }
.running-cost-formula { padding: 16px; border-left: 3px solid #087fc5; background: #f2f7fa; }

@media (max-width: 1024px) {
    .lw-guide-container { width: min(920px, calc(100% - 40px)); }
    .lw-guide-hero { min-height: 240px; }
    .lw-guide-hero__copy { padding: 28px; }
    .lw-guide-grid, .lw-guide-machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .lw-guide { --guide-title: 24px; --guide-heading: 20px; --guide-subheading: 17px; --guide-body: 14px; --guide-note: 12px; --guide-table: 13px; }
    .lw-guide-container { width: calc(100% - 32px); }
    .lw-guide-section { padding-block: 28px; }
    .lw-guide h2 { margin-top: 26px; margin-bottom: 14px; }
    .lw-guide :is(h3, h4) { margin-top: 20px; }
    .lw-guide-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .lw-guide-hero__media { height: 168px; }
    .lw-guide-hero__copy { padding: 24px 20px; }
    .lw-guide-grid, .lw-guide-machine-grid, .lw-guide-location, .lw-guide-faq__images { grid-template-columns: minmax(0, 1fr); }
    .lw-guide-card { padding: 18px; }
    .lw-guide-card h2 { margin-top: 0; }
    .lw-guide-grid--links .lw-guide-card { min-height: 112px; }
    .lw-guide-machine img { height: 220px; }
    .lw-guide-machine h3 { margin-top: 4px; }
    .lw-guide-location { gap: 20px; }
    .lw-guide-table :is(th, td) { padding: 9px 8px; }
    .lw-guide-cta { padding: 22px 18px; }
    .lw-guide-widget { height: 760px; }
    .running-cost-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .running-cost-icon-card { padding: 10px; }
    .running-cost-icon { max-width: 110px; }
    .running-cost-icon-card h2 { margin: 10px 0 0; font-size: 14px; }
}

/* Guide-family hero height follows the 360px trial banner. */
.lw-guide-hero{height:360px;min-height:360px;box-sizing:border-box}
@media(max-width:767px){.lw-guide-hero{grid-template-rows:168px 192px}.lw-guide-hero__copy{box-sizing:border-box;min-height:0}}

/* Center guide titles vertically while preserving their shared left edge. */
.lw-guide .lw-guide-hero__copy { justify-content:center; align-items:flex-start; padding:24px 40px; box-sizing:border-box; }
@media(max-width:1024px) and (min-width:768px){.lw-guide .lw-guide-hero__copy{padding-inline:28px}}
@media(max-width:767px){.lw-guide .lw-guide-hero__copy{padding:20px}}

/* Only the overview cards: reserved illustration panels and unchanged text scale. */
.lw-guide--overview .lw-guide-card--link { padding:0; overflow:hidden; }
.lw-guide--overview .lw-guide-card__visual { height:110px; display:flex; align-items:center; justify-content:center; background:#f5f5f4; border-bottom:1px solid #e8e8e6; }
.lw-guide--overview .lw-guide-card__visual img { display:block; width:88px; height:88px; }
.lw-guide--overview .lw-guide-card__body { display:flex; flex-direction:column; flex:1; padding:20px; text-align:center; }
.lw-guide--overview .lw-guide-card__body h2 { margin-bottom:8px; }
.lw-guide--overview .lw-guide-card__body a { align-self:center; margin-top:auto; padding:4px 16px; border-radius:6px; background:#2165d6; color:#fff; font-size:14px; font-weight:600; text-decoration:none; text-align:center; }
.lw-guide--overview .lw-guide-card__body a:hover { background:#184fae; color:#fff; }
.lw-guide--overview .lw-guide-card--link:hover { border-color:#c7a28f; }
@media(max-width:767px){.lw-guide--overview .lw-guide-card__body h2{margin-bottom:6px}.lw-guide--overview .lw-guide-card__visual{height:90px}.lw-guide--overview .lw-guide-card__visual img{width:76px;height:76px}}
