.gp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gp-ico { color: var(--g-accent, #1F4E5F); flex: none; }
.gp-hnote { margin: 24px 0 0; color: var(--g-ink-2); font-size: 17px; max-width: var(--gp-read, 65ch); }
.gp-section > .gp-link, .gp-section > .gp-btn, .gp-hsplit__text > .gp-link, .gp-hsplit__text > .gp-btn { margin-top: 24px; }
.gp-section > .gp-btn, .gp-section > .gp-link { display: inline-flex; }

.gp-hsplit { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.gp-hsplit__text { display: flex; flex-direction: column; align-items: flex-start; }
.gp-hsplit__text .gp-lead { max-width: var(--gp-read, 65ch); }
@media (min-width: 1024px) {
  .gp-hsplit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gp-hsplit--rev { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
.gp-hsplit .gp-media--phone { justify-self: center; max-width: min(100%, 320px); }
.gp-hshot { border: 1px solid #e5e7eb; }

.gp-hlist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; max-width: var(--gp-read, 65ch); }
.gp-hlist li { padding-inline-start: 16px; border-inline-start: 2px solid var(--g-accent, #1F4E5F); color: var(--g-ink-2); }
.gp-hlist strong { color: var(--g-ink); }

.gp-hcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gp-gap); }
.gp-hcards--text { margin-top: clamp(24px, 3vw, 40px); }
.gp-hcard { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--g-surface, #fff); border: 1px solid var(--g-line); border-radius: 6px; }
.gp-hcard .gp-h3 { margin: 4px 0 0; }
.gp-hcard p { margin: 0; color: var(--g-ink-2); font-size: 15px; }

.gp-flow { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; gap: 0; counter-reset: gp-flow; }
.gp-flow li { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding-bottom: 24px; counter-increment: gp-flow; }
.gp-flow li .gp-ico { grid-row: span 2; width: 48px; height: 48px; padding: 11px; border: 1px solid var(--g-line-strong, #d1d5db); border-radius: 50%; background: var(--g-surface, #fff); position: relative; z-index: 1; }
.gp-flow li::before { content: ""; position: absolute; inset-inline-start: 23px; top: 48px; bottom: 0; width: 1px; background: var(--g-line-strong, #d1d5db); }
.gp-flow li:last-child { padding-bottom: 0; }
.gp-flow li:last-child::before { display: none; }
.gp-flow h3 { margin: 4px 0 4px; font-size: 18px; }
.gp-flow h3::before { content: counter(gp-flow) ". "; color: var(--g-accent, #1F4E5F); }
.gp-flow p { margin: 0; color: var(--g-ink-2); font-size: 16px; }
@media (min-width: 768px) {
  .gp-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .gp-flow li { grid-template-columns: 1fr; padding-bottom: 0; }
  .gp-flow li .gp-ico { grid-row: auto; margin-bottom: 12px; }
  .gp-flow li::before { inset-inline-start: 56px; inset-inline-end: 8px; top: 24px; bottom: auto; width: auto; height: 1px; }
  .gp-flow li:nth-child(3)::before { display: none; }
}
@media (min-width: 1200px) {
  .gp-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .gp-flow li:nth-child(3)::before { display: block; }
}

.gp-hcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; margin-top: 24px; width: 100%; }
.gp-hcols p { margin: 0; color: var(--g-ink-2); }

.gp-hdl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 24px; margin: 24px 0 0; width: 100%; }
.gp-hdl dt { font-weight: 700; }
.gp-hdl dd { margin: 4px 0 0; color: var(--g-ink-2); }

.gp-hshots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--gp-gap); }
.gp-hshots figure { margin: 0; }
.gp-hshots .gp-media { border: 1px solid #e5e7eb; }
.gp-hshots figcaption { margin-top: 8px; font-weight: 600; }

.gp-cmp-wrap { overflow-x: auto; margin-top: clamp(24px, 3vw, 40px); border: 1px solid var(--g-line); border-radius: 6px; }
.gp-cmp { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--g-surface, #fff); }
.gp-cmp th, .gp-cmp td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--g-line); vertical-align: top; }
.gp-cmp tbody tr:last-child > * { border-bottom: 0; }
.gp-cmp thead th { background: var(--g-bg); font-size: 14px; color: var(--g-ink-2); }
.gp-cmp td:last-child { color: var(--g-accent, #1F4E5F); font-weight: 600; }
.gp-cmp td:nth-child(2) { color: var(--g-ink-3); }

.gp-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gp-gap); margin-top: clamp(24px, 3vw, 40px); }
.gp-who__card .gp-h3 { margin: 12px 0 4px; }
.gp-who__card p { margin: 0; color: var(--g-ink-2); font-size: 15px; }

.gp-faq { display: grid; gap: 8px; width: 100%; }
.gp-faq__item { border: 1px solid var(--g-line); border-radius: 6px; background: var(--g-surface, #fff); }
.gp-faq__item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.gp-faq__item summary::-webkit-details-marker { display: none; }
.gp-faq__item summary::after { content: "+"; color: var(--g-accent, #1F4E5F); font-size: 20px; line-height: 1; }
.gp-faq__item[open] summary::after { content: "−"; }
.gp-faq__item summary:focus-visible { outline: 3px solid var(--g-accent, #1F4E5F); outline-offset: 2px; border-radius: 6px; }
.gp-faq__item p { margin: 0; padding: 0 20px 16px; color: var(--g-ink-2); }
.gp-faqs { display: grid; gap: 24px clamp(24px, 4vw, 64px); align-items: start; }
.gp-faqs__head { display: flex; flex-direction: column; align-items: flex-start; }
.gp-faqs__head .gp-link { margin-top: 8px; }
@media (min-width: 1024px) { .gp-faqs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.gp-hend { text-align: center; display: flex; flex-direction: column; align-items: center; }
.gp-hend .gp-lead { max-width: 60ch; }

.gp-home > .gp-section { padding-block: clamp(56px, 7vw, 112px); border-top: 0; }
.gp-home > .gp-section:nth-child(odd) { background: #FAF9F7; }
.gp-home > .gp-section:nth-child(even) { background: #fff; }
.gp-hsplit--solo { grid-template-columns: 1fr !important; }

.gp-tabs__list { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--g-line); border-radius: 6px; background: var(--g-surface, #fff); margin-bottom: 16px; max-width: 100%; }
.gp-tabs__list [role="tab"] { appearance: none; border: 0; background: transparent; padding: 10px 18px; border-radius: 4px; font: inherit; font-weight: 600; font-size: 15px; color: var(--g-ink-2); cursor: pointer; white-space: nowrap; }
.gp-tabs__list [role="tab"][aria-selected="true"] { background: var(--g-accent, #1F4E5F); color: #fff; }
.gp-tabs__list [role="tab"]:focus-visible, .gp-tabs__panel:focus-visible { outline: 3px solid var(--g-accent, #1F4E5F); outline-offset: 2px; }
.gp-tabs__panel .gp-media { border: 1px solid #e5e7eb; border-radius: 6px; box-shadow: none; }
.gp-tabs__panel .gp-media img { object-position: 100% 0; }
@media (max-width: 600px) {
  .gp-tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .gp-tabs__list [role="tab"] { padding: 10px 4px; font-size: 14px; white-space: normal; }
  .gp-tabs__panel .gp-media { aspect-ratio: 4 / 3; }
}

.gp-plans--compact .gp-plan__tag { position: static; align-self: flex-start; background: var(--g-accent-tint, #E8F0F2); color: var(--g-accent, #1F4E5F); border: 0; }

@media (max-width: 600px) {
  .gp-cmp-wrap { border: 0; overflow: visible; }
  .gp-cmp, .gp-cmp tbody { display: block; background: none; }
  .gp-cmp tr { display: block; padding: 14px 16px; margin-bottom: 8px; border: 1px solid var(--g-line); border-radius: 6px; background: var(--g-surface, #fff); }
  .gp-cmp th[scope="row"], .gp-cmp td { display: block; padding: 2px 0; border: 0; }
  .gp-cmp th[scope="row"] { font-size: 16px; margin-bottom: 4px; }
  .gp-cmp td::before { content: attr(data-label) ": "; color: var(--g-ink-3); font-weight: 400; }
  .gp-hsplit .gp-media--phone { max-width: 220px; }
  .gp-who { grid-template-columns: 1fr; }
  .gp-who__card .gp-media { aspect-ratio: 16 / 9; }
}
.gp-hcard > .gp-media { margin: -20px -20px 8px; width: calc(100% + 40px); border-radius: 6px 6px 0 0; }
#gp-biz-title ~ .gp-hcards, .gp-section:has(#gp-biz-title) .gp-hcards { grid-template-columns: repeat(auto-fit, minmax(max(260px, calc((100% - 2 * var(--gp-gap)) / 3)), 1fr)); }
@media (max-width: 600px) {
  .gp-hsplit--rev .gp-media--phone { display: none; }
  .gp-section:has(#gp-biz-title) .gp-hcards { gap: 8px; }
  .gp-section:has(#gp-biz-title) .gp-hcard { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 2px; padding: 14px 16px; }
  .gp-section:has(#gp-biz-title) .gp-hcard .gp-ico { grid-row: span 2; }
  .gp-section:has(#gp-biz-title) .gp-hcard .gp-h3 { margin: 0; font-size: 17px; }
  .gp-section:has(#gp-biz-title) .gp-hcard > .gp-media { grid-column: 1 / -1; margin: -14px -16px 8px; width: calc(100% + 32px); }
  .gp-cmp tr { padding: 10px 14px; margin-bottom: 6px; }
  .gp-cmp td { font-size: 15px; }
  .gp-who, .gp-home .gp-plans--compact { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-inline: calc(var(--gp-pad) * -1); padding-inline: var(--gp-pad); scroll-padding-inline: var(--gp-pad); }
  .gp-who > *, .gp-home .gp-plans--compact > * { scroll-snap-align: start; }
  .gp-who__card .gp-media { aspect-ratio: 4 / 3; }
  .gp-home .gp-hnote { font-size: 16px; margin-top: 16px; }
}
@media (max-width: 600px) {
  .gp-cmp tr { padding: 8px 12px; margin-bottom: 4px; }
  .gp-cmp th[scope="row"] { margin-bottom: 0; font-size: 15px; }
  .gp-cmp td { font-size: 14px; padding: 0; }
  .gp-home .gp-section > .gp-hnote, .gp-hsplit__text > .gp-hnote:not(:has(strong)) { display: none; }
  .gp-hcols > div:last-child { display: none; }
  .gp-hlist { gap: 8px; }
  .gp-hlist li { font-size: 15px; }
}
@media (max-width: 600px) {
  .gp-flow li { padding-bottom: 16px; }
  .gp-flow p { font-size: 15px; }
  .gp-hdl { gap: 10px; margin-top: 16px; }
  .gp-faq__item summary { padding: 14px 16px; }
}
@media (max-width: 600px) { .gp-section:has(#gp-pain-title) .gp-hsplit__text > .gp-link { display: none; } }

/* r3 (18.10.2026): photo-led layout, AI batch 3 */
.gp-hphoto { border-radius: 12px; box-shadow: 0 28px 56px -28px rgba(17, 24, 39, .45); }
@media (min-width: 1024px) {
  .gp-home .gp-hsplit:not(.gp-hsplit--solo):not(.gp-hsplit--rev) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; }
  .gp-home .gp-hsplit:not(.gp-hsplit--rev) > .gp-hsplit__text { justify-content: center; }
  .gp-home .gp-hsplit > .gp-hphoto { aspect-ratio: auto; min-height: 460px; height: 100%; }
  .gp-section:has(#gp-sel-title) > .gp-hsplit__text { order: 2; }
  .gp-home .gp-section.gp-hsplit:has(#gp-sel-title):not(.gp-hsplit--solo) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
.gp-flow li .gp-ico { background: var(--g-accent-tint, #E8F0F2); border-color: transparent; }
@media (min-width: 768px) {
  .gp-flow li { padding: 24px 20px; background: #FAF9F7; border: 1px solid var(--g-line); border-radius: 10px; }
  .gp-flow li::before, .gp-flow li:nth-child(3)::before { display: none; }
}
.gp-hcard { border-radius: 10px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.gp-hcard > .gp-media { border-radius: 0; }
.gp-hcard:has(> .gp-media) { box-shadow: 0 16px 32px -24px rgba(17, 24, 39, .35); }
.gp-hcard:not(:has(> .gp-media)) { background: #F3F7F8; border-color: transparent; }
@media (hover: hover) { .gp-hcard:has(> .gp-media):hover { transform: translateY(-2px); box-shadow: 0 22px 40px -24px rgba(17, 24, 39, .45); } }
@media (prefers-reduced-motion: reduce) { .gp-hcard { transition: none; } .gp-hcard:hover { transform: none !important; } }
.gp-who__card .gp-media { border-radius: 10px; }
.gp-home > .gp-section.gp-hend { background: linear-gradient(135deg, #1F4E5F 0%, #163A47 100%); color: #fff; }
.gp-hend .gp-h2 { color: #fff; }
.gp-hend .gp-lead { color: rgba(255, 255, 255, .86); }
.gp-hend .gp-btn-primary { background: #fff; color: #1F4E5F !important; border-color: #fff; }
.gp-hend .gp-btn-primary:hover { background: #E8F0F2; color: #163A47 !important; }
.gp-hend .gp-btn-primary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 1023px) {
  .gp-home .gp-hsplit > .gp-hphoto { order: -1; }
}
@media (max-width: 600px) {
  /* full-bleed photo on phones: bleeds through --gp-pad on both sides */
  .gp-home .gp-hsplit > .gp-hphoto { margin-left: calc(var(--gp-pad) * -1); margin-right: calc(var(--gp-pad) * -1); width: calc(100% + 2 * var(--gp-pad)); max-width: none; border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
  .gp-hdl { grid-template-columns: 1fr 1fr; }
  .gp-hdl dd { font-size: 14px; }
  .gp-hcard { border-radius: 8px; }
}
.gp-hdl > div { padding: 16px 18px; background: #FAF9F7; border: 1px solid var(--g-line); border-radius: 10px; }
@media (min-width: 601px) { .gp-hdl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .gp-hdl > div { padding: 12px; }
  .gp-section:has(#gp-biz-title) .gp-hcard > .gp-media { aspect-ratio: 16 / 9; }
}
