
:root {
  --maxw: 1400px;
  --qs-blue: #0a4194;
  --qs-blue-deep: #072f6b;
  --qs-wood: #f5f1ea;   
  --line: #e2dccf;
  --line-2: #cfc6b6;
  --soft: var(--qs-wood);
  --bar-h: 88px;
}
@media (max-width: 760px) { :root { --bar-h: 64px; } }


.theme-horizon .hz-brand img { height: 56px; width: auto; max-width: none; }
@media (max-width: 760px) { .theme-horizon .hz-brand img { height: 40px; } }
.theme-horizon .hz-util { background: var(--qs-blue-deep); }


.theme-horizon .cms-list-head h2,
.theme-horizon #qs-reasons-h h2 { font-size: 28px; line-height: 1.35; font-weight: 700; color: var(--heading); letter-spacing: 0; }
.theme-horizon .cms-list-head p { font-size: 15px; opacity: 1 !important; color: var(--muted); }   
.theme-horizon #qs-reasons-h { text-align: center; }


.theme-horizon #qs-hero .block-hero { min-height: clamp(460px, 42vw, 640px); }
.theme-horizon #qs-hero .hero-inner { background: var(--qs-blue); }
.theme-horizon #qs-hero h1 { font-size: 40px; line-height: 1.3; letter-spacing: 0; }
.theme-horizon #qs-hero .hero-sub { font-size: 17px; line-height: 1.75; }
@media (max-width: 760px) { .theme-horizon #qs-hero h1 { font-size: 28px; } }



.theme-horizon #qs-series .product-cat-nav { gap: 20px; }
.theme-horizon #qs-series .pc-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; height: 100%; transition: border-color .2s; }
.theme-horizon #qs-series .pc-item:hover { border-color: var(--qs-blue); }
.theme-horizon #qs-series .pc-thumb { width: 100%; height: auto; display: block; border-radius: 0; }
.theme-horizon #qs-series .pc-name { margin: 14px 16px 4px; font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--heading);
  height: 3em; overflow: hidden; }   
.theme-horizon #qs-series .pc-count { margin: 0 16px 16px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 640px)  { .theme-horizon #qs-series .product-cat-nav { gap: 12px; }
  .theme-horizon #qs-series .pc-name { font-size: 15px; margin: 10px 12px 2px; } .theme-horizon #qs-series .pc-count { margin: 0 12px 12px; } }


.theme-horizon #qs-feature { background: var(--qs-wood); }
.theme-horizon #qs-feature .block-columns { padding: 56px 0; }
.theme-horizon #qs-feature .columns-grid { grid-template-columns: 7fr 5fr !important; gap: 48px; align-items: center; }
.theme-horizon #qs-feature .col img { width: 100%; height: auto; border-radius: 4px; display: block; }
.theme-horizon #qs-feature .col p:first-child { margin: 0; }
.theme-horizon #qs-feature h2 { font-size: 28px; line-height: 1.35; margin: 0 0 16px; }
.theme-horizon #qs-feature ul { margin: 16px 0; padding-left: 1.2em; }
.theme-horizon #qs-feature li { margin: 6px 0; }
@media (max-width: 900px) { .theme-horizon #qs-feature .columns-grid { grid-template-columns: 1fr !important; gap: 24px; } .theme-horizon #qs-feature .block-columns { padding: 32px 0; } }


.theme-horizon a.qs-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: var(--qs-blue); color: #fff !important;
  border-radius: 4px; font-weight: 600; text-decoration: none; }
.theme-horizon a.qs-btn:hover { background: var(--qs-blue-deep); }



.theme-horizon #qs-cases .post-list-card { gap: 20px; grid-auto-rows: 1fr; }
.theme-horizon #qs-cases .post-card { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; box-shadow: none; }
.theme-horizon #qs-cases .post-card > a:first-child { order: 0; display: block; }
.theme-horizon #qs-cases .post-card img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block; margin: 0; border-radius: 0; }
.theme-horizon #qs-cases .post-date { order: 1; margin: 14px 16px 0; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.theme-horizon #qs-cases .post-card h2 { order: 2; margin: 6px 16px 16px; font-size: 17px; line-height: 1.55; font-weight: 600; height: 4.65em; overflow: hidden; box-sizing: content-box; }   
.theme-horizon #qs-cases .post-card h2 a { color: var(--heading); text-decoration: none; }
.theme-horizon #qs-cases .post-card:hover { border-color: var(--qs-blue); }
.theme-horizon #qs-cases .pl-more { display: none; }
@media (max-width: 640px)  { .theme-horizon #qs-cases .post-list-card { grid-auto-rows: auto; } .theme-horizon #qs-cases .post-card h2 { height: auto; } }


.theme-horizon #qs-reasons-h .block-text, .theme-horizon #qs-reasons-h section { padding-bottom: 8px; }
.theme-horizon #qs-reasons .columns-grid { gap: 16px; }
.theme-horizon #qs-reasons .col { border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 20px; }
.theme-horizon #qs-reasons .col p:first-child { margin: 0 0 12px; }
.theme-horizon #qs-reasons .col img { width: 64px; height: 64px; display: block; }
.theme-horizon #qs-reasons h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.45; font-weight: 700; color: var(--heading); }
.theme-horizon #qs-reasons .col p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }


.theme-horizon #qs-visit .columns-grid { gap: 20px; }
.theme-horizon #qs-visit .col { border: 1px solid var(--line); border-radius: 4px; padding: 24px; background: #fff; }
.theme-horizon #qs-visit .col:last-child { background: var(--qs-blue); border-color: var(--qs-blue); color: #fff; }
.theme-horizon #qs-visit .col:last-child h3, .theme-horizon #qs-visit .col:last-child a:not(.qs-btn) { color: #fff; }
.theme-horizon #qs-visit .col:last-child a.qs-btn { background: #fff; color: var(--qs-blue) !important; margin-top: 8px; }
.theme-horizon #qs-visit h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.theme-horizon #qs-visit p { margin: 4px 0; font-size: 15px; line-height: 1.7; font-variant-numeric: tabular-nums; }


.theme-horizon:has(.block-gallery) .hz-article-cover { display: none; }


.theme-horizon .pcatg.pcatg.product-list { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px; }
@media (max-width: 1100px) { .theme-horizon .pcatg.pcatg.product-list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px)  { .theme-horizon .pcatg.pcatg.product-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; } }


.theme-horizon .cms-entry-more { display: none; }


@media (max-width: 640px) {
  .theme-horizon #qs-reasons .columns-grid { gap: 10px; }
  .theme-horizon #qs-reasons .col { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 16px; align-items: start; }
  .theme-horizon #qs-reasons .col p:first-child { grid-row: 1 / span 2; margin: 0; }
  .theme-horizon #qs-reasons .col img { width: 48px; height: 48px; }
  .theme-horizon #qs-reasons h3 { margin: 0 0 4px; }
}


.theme-horizon #qs-visit .col:last-child p { color: #fff; }
.theme-horizon #qs-visit a[href^="tel:"] { white-space: nowrap; }


.theme-horizon .qs-marquee { background: var(--qs-blue-deep); color: #fff; font-size: var(--hc-bar-fs, 1rem); }   
@media (max-width: 768px) { .theme-horizon .qs-marquee { font-size: var(--hc-bar-fs-m, .8125rem); } }
.theme-horizon .qs-marquee .hc-bar-track { gap: 3.5rem; padding: .5rem 0; }



.theme-horizon .hz-crumbbar { background: #f5f5f6; border-bottom: 0; }
.theme-horizon:has(.hz-crumbbar) .hz-bar { border-bottom-color: transparent; }


.theme-horizon #qs-feature .columns-grid .col { border-top: 0; padding-top: 0; }

.theme-horizon .cms-list-head[style*="center"] h2::before { margin-inline: auto; }


@media (min-width: 901px) {
  .theme-horizon #wsite-content:has(#qs-ct-info) { display: grid; grid-template-columns: minmax(32px, 1fr) minmax(0, 676px) 48px minmax(0, 676px) minmax(32px, 1fr); align-items: start; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > .block-heading:first-child { grid-column: 1 / -1; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-quick { display: none; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-info { grid-column: 2; grid-row: 2; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-form { grid-column: 4; grid-row: 2; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-gallery,
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-map { grid-column: 2 / 5; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > :is(#qs-ct-info, #qs-ct-form, #qs-ct-gallery, #qs-ct-map) .wrap { max-width: none; padding-inline: 0; margin: 0; }
}
.theme-horizon #wsite-content:has(#qs-ct-info) > :is(#qs-ct-info, #qs-ct-form, #qs-ct-gallery, #qs-ct-map, #qs-ct-quick) .block { padding-block: 36px 8px; }
.theme-horizon #qs-ct-info h3 { margin: 0; font-size: 1.1875rem; line-height: 1.4; color: var(--qs-blue-deep); }
.theme-horizon #qs-ct-info h3 + p { margin: 0 0 6px; font-size: .9375rem; color: var(--muted); }
.theme-horizon #qs-ct-info h3 + p + p { margin: 0 0 20px; }
.theme-horizon #qs-ct-info table { width: 100%; margin-top: 8px; border-collapse: collapse; border-top: 1px solid var(--line); }
.theme-horizon #qs-ct-info th, .theme-horizon #qs-ct-info td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; line-height: 1.7; }

.theme-horizon #qs-ct-info th { width: 6.5em; background: none; color: var(--muted); font-size: .9375rem; }
.theme-horizon #qs-ct-info td { background: none; }
.theme-horizon #qs-ct-info td a { color: var(--qs-blue); font-weight: 500; text-decoration: none; }
.theme-horizon #qs-ct-info td a:hover, .theme-horizon #qs-ct-info td a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.theme-horizon #qs-ct-form .block-form { padding: 28px 28px 32px; background: #f5f5f6; border-radius: 6px; margin-top: 36px; }
.theme-horizon #qs-ct-form .block-form .wrap { padding: 0; }
.theme-horizon #qs-ct-form .block-form h2 { margin: 0 0 14px; font-size: 1.375rem; color: var(--qs-blue-deep); }
.theme-horizon #qs-ct-gallery .block-gallery, .theme-horizon #qs-ct-map .block-map { background: transparent; padding-block: 28px 0; }
.theme-horizon #qs-ct-map .block-map { padding-bottom: 56px; }
.theme-horizon #qs-ct-quick .block-text p { display: flex; gap: 8px; margin: 0; }
.theme-horizon #qs-ct-quick .block-text a { flex: 1; text-align: center; padding: 10px 0; border: 1px solid var(--qs-blue); border-radius: 4px; color: var(--qs-blue); text-decoration: none; font-weight: 500; }
@media (max-width: 900px) {
  .theme-horizon #wsite-content:has(#qs-ct-info) { display: flex; flex-direction: column; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-quick { order: 1; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-form { order: 2; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-info { order: 3; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-gallery { order: 4; }
  .theme-horizon #wsite-content:has(#qs-ct-info) > #qs-ct-map { order: 5; }
  .theme-horizon #qs-ct-form .block-form { margin: 24px 20px 0; padding: 24px 20px 28px; }
}


@media (prefers-reduced-motion: no-preference) {
  .qs-motion .qs-rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); will-change: opacity, transform; }
  .qs-motion .qs-rv.qs-in { opacity: 1; transform: none; }
  .qs-motion .qs-rv.qs-in { will-change: auto; }
}


.theme-horizon #cmsSearchPanel { top: var(--qs-header-h, 108px); padding: 14px 32px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px -18px rgba(7, 47, 107, .35); }
.theme-horizon #cmsSearchPanel .cms-search-panel__in { max-width: 760px; gap: 14px; }
.theme-horizon #cmsSearchPanel .cms-search-panel__ic { color: var(--muted); }
.theme-horizon #cmsSearchPanel .cms-search-panel__ic svg { width: 22px; height: 22px; }
.theme-horizon #cmsSearchPanel .cms-search-panel__in input { height: auto; padding: 8px 2px; font-size: 1.125rem; line-height: 1.5; color: var(--heading); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; box-shadow: none; outline: none; }
.theme-horizon #cmsSearchPanel .cms-search-panel__in input:focus,
.theme-horizon #cmsSearchPanel .cms-search-panel__in input:focus-visible { border-bottom-color: var(--qs-blue); box-shadow: none; outline: none; }
.theme-horizon #cmsSearchPanel .cms-search-panel__in input::placeholder { color: var(--muted); opacity: 1; }
.theme-horizon #cmsSearchPanel .cms-search-panel__go { min-height: 44px; padding: 0 24px; font-size: 1rem; border-radius: 4px; background: var(--qs-blue); }
.theme-horizon #cmsSearchPanel .cms-search-panel__go:hover { background: var(--qs-blue-deep); filter: none; }
.theme-horizon #cmsSearchPanel .cms-search-panel__x { width: 44px; height: 44px; border-radius: 4px; color: var(--muted); }
@media (max-width: 767px) { .theme-horizon #cmsSearchPanel { padding: 10px 16px; } .theme-horizon #cmsSearchPanel .cms-search-panel__in input { font-size: 1rem; } .theme-horizon #cmsSearchPanel .cms-search-panel__go { padding: 0 16px; } }


.theme-horizon #wsite-content figure figcaption { font-size: 1.0625rem; line-height: 1.6; opacity: .85; margin-top: 8px; }


.theme-horizon .cms-ratio-1-1 .post-card img { aspect-ratio: 1 / 1; }
.theme-horizon .cms-ratio-4-3 .post-card img { aspect-ratio: 4 / 3; }
.theme-horizon .cms-ratio-3-2 .post-card img { aspect-ratio: 3 / 2; }
.theme-horizon .cms-ratio-16-9 .post-card img { aspect-ratio: 16 / 9; }
.theme-horizon .cms-ratio-3-4 .post-card img { aspect-ratio: 3 / 4; }
.theme-horizon .cms-ratio-2-3 .post-card img { aspect-ratio: 2 / 3; }


.theme-horizon .hz-article-head-in,
.theme-horizon .hz-article-wrap { max-width: calc(var(--maxw) + var(--gut) * 2); }   
.theme-horizon .hz-article-wrap > .lead { max-width: none; font-size: 1.25rem; line-height: 1.75; }

.theme-horizon .article-body figure figcaption { display: none; }


.theme-horizon .cms-post-nav { max-width: none; margin-inline: 0; padding-inline: 0; }
.theme-horizon .cms-post-tags { max-width: none !important; margin-inline: 0 !important; padding-inline: 0 !important; }


.theme-horizon .qs-vid-cover { position: relative; display: block; }
.theme-horizon .qs-vid-cover::after { content: ''; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 14px rgba(0, 0, 0, .28); transition: transform .2s ease; pointer-events: none; }
.theme-horizon .qs-vid-cover::before { content: ''; position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -8px; border-left: 22px solid var(--qs-blue); border-top: 13px solid transparent; border-bottom: 13px solid transparent; z-index: 1; pointer-events: none; }
.theme-horizon .qs-vid:hover .qs-vid-cover::after { transform: scale(1.08); }
.theme-horizon .qs-vid { cursor: pointer; }
.theme-horizon .qs-vid-loading { opacity: .7; }
.qs-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(5, 12, 26, .86); }
.qs-lb-box { position: relative; width: min(1040px, 100%); }
.qs-lb-frame { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 6px; overflow: hidden; }
.qs-lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.qs-lb-x { position: absolute; right: 0; top: -48px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.qs-lb-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 640px) { .qs-lb { padding: 12px; } .theme-horizon .qs-vid-cover::after { width: 56px; height: 56px; margin: -28px 0 0 -28px; } .theme-horizon .qs-vid-cover::before { margin: -11px 0 0 -7px; border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; } }
