.ap-page { --ap-line: #d8e7ef; --ap-muted: #50697f; color: #143654; }
.ap-page *, .ap-page *::before, .ap-page *::after { box-sizing: border-box; }
.ap-section { padding-block: clamp(42px, 5.8vw, 80px); }
.ap-page h2 { margin: 0 0 22px; font-size: clamp(29px, 3.5vw, 48px); line-height: 1.16; font-weight: 550; letter-spacing: -.045em; overflow-wrap: anywhere; }
.ap-page h3 { margin: 0 0 18px; font-size: clamp(26px, 2.5vw, 35px); line-height: 1.2; font-weight: 550; letter-spacing: -.04em; overflow-wrap: anywhere; }
.ap-heading { max-width: 840px; margin-bottom: 38px; }
.ap-heading p, .ap-copy, .ap-prose { color: var(--ap-muted); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.ap-heading p { margin-bottom: 0; }
.ap-existing-content { margin-bottom: 36px; }
.ap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); align-items: stretch; }
.ap-card { min-width: 0; border: 1px solid var(--ap-line); border-radius: 25px; background: #fff; scroll-margin-top: 110px; display: flex; flex-direction: column; box-shadow: 0 12px 40px rgb(17 62 91 / 4%); transition: border-color .25s ease, box-shadow .25s ease; }
.ap-card__visual { height: clamp(300px, 30vw, 400px); margin: 0; padding: 22px 20px 8px; border-radius: 25px 25px 0 0; background: radial-gradient(ellipse at 50% 58%, #e0f2f7 0, #f5fbfd 52%, #fff 78%); display: flex; justify-content: center; align-items: center; }
.ap-card__image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.ap-card__placeholder { text-align: center; color: #506f84; }
.ap-card__placeholder > span { display: block; font-size: clamp(45px, 6vw, 86px); line-height: 1.2; letter-spacing: -.06em; font-weight: 550; color: #9ac5d3; }
.ap-card__placeholder > p { margin: 18px 0 0; font-size: 14px; }
.ap-card__body { padding: clamp(23px, 3vw, 38px); display: flex; flex: 1; flex-direction: column; align-items: start; }
.ap-card__body > h3 { min-height: 1.2em; margin-bottom: 16px; }
.ap-card__body > .ap-details { width: 100%; margin-top: auto; }
.ap-page .ap-eyebrow { display: block; margin: 0 0 14px; color: #278697; font-size: 11px; letter-spacing: .12em; }
.ap-card__body > .ap-copy { min-height: 5.4em; margin: 0 0 22px; }
.ap-details { margin-bottom: 24px; border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); }
.ap-details summary { padding-block: 17px; min-height: 48px; color: #166c83; font-size: 14px; font-weight: 650; line-height: 1.5; cursor: pointer; }
.ap-details__content { padding-bottom: 18px; }
.ap-details__content .ap-copy { font-size: 14px; }
.ap-specs { margin: 22px 0; font-size: 13px; line-height: 1.6; }
.ap-specs div { padding: 11px 0; border-bottom: 1px solid var(--ap-line); }
.ap-specs dt { color: var(--ap-muted); }
.ap-specs dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ap-list { padding-left: 20px; color: var(--ap-muted); font-size: 14px; line-height: 1.8; }
.ap-list li { margin-block: 8px; padding-left: 4px; }
.ap-list li::marker { color: #258596; }
.ap-source { font-size: 12px; line-height: 1.7; color: var(--ap-muted); }
.ap-source a { color: #166c83; text-underline-offset: 3px; }
.ap-model-cta { min-height: 48px; font-size: 14px; gap: 25px; }
.ap-tinted { background: #f0f8fb; }
.ap-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #cbdfe8; border-radius: 22px; background: #fff; box-shadow: 0 18px 48px rgb(17 62 91 / 6%); scrollbar-color: #84b9c6 #eaf4f8; }
.ap-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; line-height: 1.7; }
.ap-table th, .ap-table td { padding: 25px 24px; text-align: left; border-bottom: 1px solid var(--ap-line); vertical-align: middle; }
.ap-table thead th { background: #143654; color: #fff; font-size: 14px; letter-spacing: .035em; font-weight: 650; }
.ap-table tbody th { font-weight: 650; background: #f1f8fb; }
.ap-table :is(th, td) + :is(th, td) { border-left: 1px solid rgb(121 166 185 / 18%); }
.ap-table tbody tr:nth-child(even) td { background: #f8fcfd; }
.ap-table tbody td:last-child { color: #166c83; font-weight: 650; font-variant-numeric: tabular-nums; }
.ap-table td { color: var(--ap-muted); }
.ap-table a { display: inline-flex; align-items: center; min-height: 44px; color: #166c83; text-underline-offset: 4px; }
.ap-table tr:last-child :is(th, td) { border-bottom: 0; }
.ap-help { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 54px); }
.ap-help::before { content: ""; position: absolute; z-index: -1; inset: 18px 0; border: 1px solid #deedf3; border-radius: 28px; background: linear-gradient(115deg, #fff 22%, #edf8fb 100%); box-shadow: 0 16px 45px rgb(17 62 91 / 4%); }
.ap-help > div { max-width: 660px; padding-left: clamp(24px, 4vw, 54px); }
.ap-help .button { margin-top: 22px; }
.ap-help__portrait { width: 330px; flex: 0 0 330px; margin: 0 clamp(24px, 3vw, 40px) 0 0; }
.ap-help__portrait img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 18px 40px rgb(17 62 91 / 12%); }
.ap-faq { align-items: start; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); }
.ap-consult { background: radial-gradient(ellipse at 12% 20%, #f7fcfe, transparent 62%), linear-gradient(125deg, #e7f4f9, #d9eef4); border-block: 1px solid #d5e8ef; scroll-margin-top: 110px; }
.ap-consult__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(28px, 4vw, 60px); }
.ap-consult__layout > div { max-width: 520px; padding-top: clamp(26px, 3.2vw, 44px); }
.ap-consult__layout > div > .ap-copy { font-size: 17px; line-height: 1.85; }
.ap-form { display: grid; gap: 18px; padding: clamp(26px, 3.2vw, 44px); border: 1px solid var(--ap-line); border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgb(17 62 91 / 9%); }
.ap-form > label { display: grid; gap: 8px; min-width: 0; font-size: 14px; font-weight: 650; }
.ap-form :is(input:not([type=checkbox]), select, textarea) { width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid #cbdfe8; border-radius: 12px; color: #143654; background: #fafdff; font: inherit; font-size: 16px; line-height: 1.5; transition: border-color .2s ease, box-shadow .2s ease; }
.ap-form textarea { resize: vertical; min-height: 112px; }
.ap-form :is(input:not([type=checkbox]), select, textarea):focus { border-color: #3b92a4; box-shadow: 0 0 0 3px rgb(59 146 164 / 10%); }
.ap-form .ap-form__consent { display: flex; align-items: start; gap: 10px; font-size: 12px; line-height: 1.6; font-weight: 400; }
.ap-form__consent input { width: 17px; height: 17px; margin: 3px 0 0; flex: 0 0 17px; }
.ap-form__consent a { color: #166c83; text-underline-offset: 3px; }
.ap-form .button { justify-content: space-between; min-height: 52px; font-size: 15px; }
.ap-form button:disabled { opacity: .6; cursor: wait; }
.ap-form [data-kangen-lead-feedback] { margin: 0; color: #166a58; font-size: 13px; line-height: 1.6; }
.ap-form [data-kangen-lead-feedback]:empty { display: none; }
.ap-form [data-kangen-lead-feedback][data-error="true"] { color: #a33939; }
.ap-links { display: flex; flex-wrap: wrap; gap: 15px 35px; }
.ap-links a { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; color: #166c83; text-underline-offset: 4px; font-weight: 600; }
.ap-page :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid #14788c; outline-offset: 4px; }
@media (max-width: 900px) { .ap-faq, .ap-consult__layout { grid-template-columns: minmax(0, 1fr); } .ap-consult__layout > div { padding-top: 0; } .ap-help__portrait { width: 250px; flex-basis: 250px; } .ap-help { gap: 26px; } }
@media (max-width: 700px) {
    .ap-grid { grid-template-columns: minmax(0, 1fr); }
    .ap-card__visual { height: clamp(280px, 80vw, 370px); padding: 20px 16px 8px; }
    .ap-card__body { padding: 25px; }
    .ap-card__body > h3, .ap-card__body > .ap-copy { min-height: 0; }
    .ap-help { flex-direction: column; align-items: start; gap: 30px; padding-inline: 24px; }
    .ap-help::before { inset: 20px 0; }
    .ap-help > div { padding-left: 0; }
    .ap-help__portrait { flex-basis: auto; width: min(280px, 100%); margin: 0; align-self: center; }
    .ap-table th, .ap-table td { padding: 16px; }
}
@media (max-width: 380px) { .ap-card__body { padding: 22px; } .ap-model-cta { width: 100%; justify-content: space-between; } .ap-form { padding: 24px 19px; } }

.ap-page .ap-details summary { position: relative; list-style: none; }
.ap-page .ap-details summary::-webkit-details-marker { display: none; }
.ap-details summary { padding-right: 40px; }
.ap-page .ap-details summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #c6e1e9; border-radius: 50%; color: #166c83; font-size: 20px; line-height: 1; font-weight: 400; }
.ap-details summary::after { right: 0; }
.ap-page .ap-details[open] > summary::after { content: "−"; background: #eaf6f9; }
@media (hover: hover) and (pointer: fine) {
    .ap-card:hover { border-color: #a5ccd8; box-shadow: 0 18px 48px rgb(17 62 91 / 8%); }
    .ap-table tbody tr:hover :is(th, td) { background: #e8f5f8; }
}
@supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
    .ap-page :is(.ap-faq details, .ap-details) { interpolate-size: allow-keywords; }
    .ap-page :is(.ap-faq details, .ap-details)::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .24s ease, opacity .24s ease, content-visibility .24s allow-discrete; }
    .ap-page :is(.ap-faq details, .ap-details)[open]::details-content { block-size: auto; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .ap-page :is(.ap-card, .ap-faq details, .ap-form input, .ap-form select, .ap-form textarea) { transition: none; }
    .ap-page :is(.ap-faq details, .ap-details)::details-content { transition: none; }
}
/* Keep the semantic table caption available without repeating the visible heading. */
.ap-table > caption.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
