.gap-decision-page { background: #f7f5ef; }
.gap-decision-page * { box-sizing: border-box; }
.gap-decision-page .content-context { margin-top: 79px; background: #f7f5ef; border-bottom: 1px solid #d7dde3; }
.gap-decision-page .content-context-inner { min-height: 54px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gap-decision-page .content-context ol { display: flex; gap: 8px; margin: 0; padding: 0; color: #637184; font-size: .76rem; list-style: none; }
.gap-decision-page .content-context li:not(:last-child)::after { content: '/'; margin-left: 8px; color: #bbc4cd; }
.gap-decision-page .content-context a { color: #40546a; text-decoration: none; }
.gap-decision-page .content-context-all { font-weight: 700; }
.gap-shell { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.gap-article-width { width: min(760px, calc(100% - 48px)); margin: 0 auto; }
.gap-hero { padding: 4.8rem 0 4.5rem; border-bottom: 1px solid #d7dde3; background: linear-gradient(90deg, rgba(10,35,66,.025) 1px, transparent 1px) 0 0 / 96px 96px, #f7f5ef; }
.gap-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr); gap: clamp(2.4rem, 5vw, 5rem); align-items: center; }
.gap-hero h1 { margin: 0; color: #0a2342; font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1.42; letter-spacing: -.04em; }
.gap-lead { margin: 1.5rem 0 0; color: #536274; font-size: 1.02rem; line-height: 2; }
.gap-primary { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 54px; margin-top: 1.8rem; padding: .8rem 1.35rem; border: 1px solid #0a2342; border-radius: 4px; color: #fff; background: #0a2342; font-weight: 700; text-decoration: none; }
.gap-primary:hover { color: #0a2342; background: transparent; }
.gap-privacy { margin: .7rem 0 0; color: #637184; font-size: .75rem; }
.gap-hero-map { border: 1px solid #d7dde3; border-radius: 6px; background: #fff; box-shadow: 0 18px 45px rgba(10,35,66,.09); overflow: hidden; }
.gap-map-head { padding: 1.4rem 1.5rem; color: #fff; background: #0a2342; }
.gap-map-head span, .gap-map-head small { display: block; }
.gap-map-head span { font-weight: 700; }
.gap-map-head small { margin-top: .35rem; color: #c9d5e0; }
.gap-map-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #d7dde3; }
.gap-map-routes span { position: relative; min-height: 100px; padding: 2.7rem 1rem 1rem; color: #17283b; background: #fff; font-weight: 700; text-align: center; }
.gap-map-routes span::before { content: ''; position: absolute; top: 1.15rem; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #a9813f; transform: translateX(-50%); }
.gap-section { padding: 5rem 0; }
.gap-kicker { margin: 0 0 .75rem; color: #8a6b31; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.gap-section h2 { margin: 0; color: #0a2342; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.55; letter-spacing: -.025em; }
.gap-section p { color: #445468; line-height: 2; }
.gap-answer, .gap-routes-section, .gap-next-section { background: #fff; }
.gap-answer-box { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 4px solid #a9813f; background: #f3eee2; }
.gap-answer-box strong { color: #0a2342; }
.gap-answer-box p { margin: .45rem 0 0; }
.gap-section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.gap-form { display: grid; gap: 1rem; }
.gap-scene-field, .gap-form fieldset { margin: 0; padding: 1.5rem; border: 1px solid #d7dde3; border-radius: 6px; background: #fff; }
.gap-scene-field label, .gap-form legend { color: #0a2342; font-size: 1rem; font-weight: 700; }
.gap-scene-field input { width: 100%; min-height: 52px; margin-top: .8rem; padding: .7rem .9rem; border: 1px solid #b8c1cb; border-radius: 4px; color: #17283b; background: #fff; font: inherit; }
.gap-form fieldset { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.gap-form fieldset:nth-of-type(4), .gap-form fieldset:nth-of-type(5) { grid-template-columns: repeat(3, 1fr); }
.gap-form legend { padding: 0 .4rem; }
.gap-form fieldset label { display: flex; min-height: 112px; cursor: pointer; }
.gap-form fieldset input { position: absolute; opacity: 0; pointer-events: none; }
.gap-form fieldset label span { width: 100%; padding: 1rem; border: 1px solid #ccd4dc; border-radius: 5px; background: #fafafa; }
.gap-form fieldset label strong, .gap-form fieldset label small { display: block; }
.gap-form fieldset label strong { color: #17283b; line-height: 1.55; }
.gap-form fieldset label small { margin-top: .4rem; color: #637184; line-height: 1.65; }
.gap-form fieldset input:focus-visible + span { outline: 3px solid rgba(33,103,155,.25); outline-offset: 2px; }
.gap-form fieldset input:checked + span { border-color: #0a2342; background: #eaf0f5; box-shadow: inset 0 0 0 1px #0a2342; }
.gap-submit { min-height: 56px; padding: .9rem 1.4rem; border: 1px solid #0a2342; border-radius: 4px; color: #fff; background: #0a2342; font: 700 1rem/1.5 inherit; cursor: pointer; }
.gap-submit:hover { color: #0a2342; background: #fff; }
.gap-result-section { padding-top: 0; }
.gap-result-empty, .gap-result { padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid #d7dde3; border-radius: 6px; background: #fff; }
.gap-result-head { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.gap-result-head > span { flex: 0 0 auto; padding: .45rem .75rem; border-radius: 999px; color: #fff; background: #0a2342; font: 600 .75rem/1 Montserrat, sans-serif; }
.gap-result-scene { margin-top: .35rem; }
.gap-result-summary { margin: 1.4rem 0; padding: 1rem 1.2rem; border-left: 4px solid #a9813f; background: #f3eee2; }
.gap-result-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.gap-result-grid section { padding: 1.2rem; border: 1px solid #d7dde3; border-radius: 4px; }
.gap-result-grid h3 { margin: 0 0 .75rem; color: #0a2342; }
.gap-result-grid ol { margin: 0; padding-left: 1.3rem; color: #445468; line-height: 1.85; }
.gap-result-grid p { margin: 0; }
.gap-result-buttons { display: flex; gap: .8rem; margin-top: 1.2rem; }
.gap-result-buttons button { min-height: 46px; padding: .65rem 1rem; border: 1px solid #0a2342; border-radius: 4px; color: #0a2342; background: #fff; font: 600 .9rem/1.4 inherit; cursor: pointer; }
.gap-result-buttons button:first-child { color: #fff; background: #0a2342; }
.gap-route-list { display: grid; gap: 0; margin-top: 2.2rem; border-top: 1px solid #d7dde3; }
.gap-route-list article { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid #d7dde3; }
.gap-route-list article > span { color: #a9813f; font: 600 1.2rem/1.5 Montserrat, sans-serif; }
.gap-route-list h3 { margin: 0; color: #0a2342; font-size: 1.2rem; }
.gap-route-list p { margin: .45rem 0 0; }
.gap-example { margin: 2rem 0 1rem; border: 1px solid #d7dde3; border-radius: 6px; background: #fff; overflow: hidden; }
.gap-example dl { margin: 0; }
.gap-example dl div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid #d7dde3; }
.gap-example dt, .gap-example dd { margin: 0; padding: .9rem 1rem; }
.gap-example dt { color: #0a2342; background: #edf1f4; font-weight: 700; }
.gap-example dd { color: #445468; }
.gap-example > p { margin: 0; padding: 1.4rem; }
.gap-cta { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; margin-top: 2rem; padding: 1.5rem; border: 1px solid #d7dde3; border-radius: 5px; background: #f7f5ef; }
.gap-cta strong { color: #0a2342; }
.gap-cta p { margin: .35rem 0 0; font-size: .9rem; }
.gap-cta a { display: inline-flex; align-items: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid #0a2342; border-radius: 4px; color: #0a2342; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .gap-hero-grid { grid-template-columns: 1fr; }
  .gap-hero-map { max-width: 620px; }
  .gap-form fieldset, .gap-form fieldset:nth-of-type(4), .gap-form fieldset:nth-of-type(5) { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gap-decision-page { overflow-x: hidden; }
  .gap-decision-page .content-context { margin-top: 69px; }
  .gap-decision-page .content-context ol { white-space: nowrap; overflow: hidden; font-size: .68rem; }
  .gap-decision-page .content-context li:last-child, .gap-decision-page .content-context-all { display: none; }
  .content-detail .content-context-inner { width: calc(100% - 32px); }
  .gap-shell, .gap-article-width { width: calc(100% - 32px); max-width: 680px; }
  .gap-hero-grid, .gap-hero-grid > *, .gap-hero-map { min-width: 0; max-width: 100%; }
  .gap-hero { padding: 3.2rem 0 3rem; background-size: 64px 64px; }
  .gap-hero h1 { max-width: 100%; font-size: clamp(1.88rem, 8.6vw, 2.35rem); line-height: 1.5; word-break: break-all; overflow-wrap: anywhere; }
  .gap-lead { max-width: 100%; font-size: .96rem; overflow-wrap: anywhere; }
  .gap-primary { width: 100%; }
  .gap-map-routes { grid-template-columns: 1fr; }
  .gap-map-routes span { min-height: 68px; padding-top: 2.3rem; }
  .gap-section { padding: 3.8rem 0; }
  .gap-scene-field, .gap-form fieldset { padding: 1rem; }
  .gap-result-head, .gap-result-buttons { flex-direction: column; }
  .gap-result-grid { grid-template-columns: 1fr; }
  .gap-result-buttons button { width: 100%; }
  .gap-route-list article { grid-template-columns: 44px 1fr; gap: .6rem; }
  .gap-example dl div { grid-template-columns: 1fr; }
  .gap-example dt { padding-bottom: .4rem; }
  .gap-example dd { padding-top: .4rem; background: #edf1f4; }
  .gap-cta { grid-template-columns: 1fr; }
  .gap-cta a { justify-content: center; }
}
@media print {
  .site-header, .content-context, .gap-primary, .gap-privacy, .gap-submit, .gap-result-buttons, .content-back, .site-footer { display: none !important; }
  .gap-section { padding: 1.5rem 0; }
  .gap-result-section { display: block; }
}
